Skip to content

Commit 4ca0841

Browse files
sderevAI-sderev
andcommitted
Add tests.yml workflow
* Run `pytest -m "not real"` across Python 3.10-3.14 * Install deps via `uv sync` and `uv run` Co-authored-by: AI <ai@sderev.com>
1 parent 6be05ee commit 4ca0841

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
tests:
11+
name: Run tests (Python ${{ matrix.python-version }})
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@v5
28+
29+
- name: Install dependencies
30+
run: uv sync --group dev
31+
32+
- name: Run pytest
33+
run: uv run --group dev pytest -m "not real"

0 commit comments

Comments
 (0)