Skip to content

Commit 62eb3e0

Browse files
committed
2 parents 9b7ef31 + 909e49f commit 62eb3e0

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
python-version: ["3.11", "3.12", "3.13"]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up uv
21+
uses: astral-sh/setup-uv@v7
22+
with:
23+
enable-cache: true
24+
cache-dependency-glob: |
25+
uv.lock
26+
pyproject.toml
27+
- name: Install Python
28+
run: uv python install ${{ matrix.python-version }}
29+
30+
- name: Sync dependencies
31+
run: uv sync --frozen
32+
33+
- name: Ruff format (check)
34+
run: uv run ruff format --check .
35+
36+
- name: Ruff lint
37+
run: uv run ruff check .
38+
39+
- name: Mypy
40+
run: uv run mypy src tests
41+
42+
- name: Run tests
43+
run: uv run pytest

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Small Python library for working with Binary Sequences, with a focus on pseudora
66

77
> **Status:** Beta (API may evolve and change significantly before v1.0)
88
9+
![PyPI](https://img.shields.io/pypi/v/bseqgen)
10+
11+
[![CI](https://github.com/bloopy-code/bseqgen/actions/workflows/main.yml/badge.svg)](https://github.com/bloopy-code/bseqgen/actions/workflows/main.yml)
12+
913
---
1014

1115
## Features

0 commit comments

Comments
 (0)