Skip to content

Commit 4354acf

Browse files
authored
Merge pull request #4 from bloopy-code/bloopy-code-patch-2-ci
CI checks all pass :) Hurrah. issue was numpy typing.
2 parents 4b8f568 + a8bcf7b commit 4354acf

1 file changed

Lines changed: 43 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

0 commit comments

Comments
 (0)