Skip to content

Commit a89803f

Browse files
committed
Add test action
1 parent ec48bb0 commit a89803f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will install Python dependencies, run tests with a range of Python versions
2+
3+
name: tests
4+
5+
on: [push, pull_request]
6+
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
11+
# strategy:
12+
# matrix:
13+
# python-version: [
14+
# '3.9',
15+
# '3.10',
16+
# '3.11',
17+
# '3.12',
18+
# '3.13',
19+
# ]
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Python #${{ matrix.python-version }}
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.13" #${{ matrix.python-version }}
28+
29+
- name: Install uv
30+
uses: astral-sh/setup-uv@v5
31+
32+
- name: Create uv venv
33+
run: uv venv
34+
35+
- name: Install nox
36+
run: uv pip install nox
37+
38+
- name: Test with pytest
39+
# run: poetry run pytest -vs
40+
run: nox -s tests

0 commit comments

Comments
 (0)