Skip to content

Commit 0e48681

Browse files
committed
add CI to run unit tests on supported python versions
1 parent 42fe70d commit 0e48681

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_call:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ["3.13", "3.14"]
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
persist-credentials: false
20+
21+
- uses: actions/setup-python@v6
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install dependencies
26+
run: pip install -r requirements.txt
27+
28+
- name: Lint
29+
run: make lint-ci
30+
31+
- name: Run unit tests
32+
run: make test-unit

0 commit comments

Comments
 (0)