Skip to content

Commit 2c56340

Browse files
committed
test: add github workflow test
1 parent 87e6d71 commit 2c56340

File tree

2 files changed

+202
-3
lines changed

2 files changed

+202
-3
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
11+
12+
steps:
13+
- uses: actions/checkout@v6
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v7
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
run: uv python install ${{ matrix.python-version }}
20+
21+
- name: Install dependencies
22+
run: uv sync --all-extras --dev
23+
24+
- name: Run tests
25+
run: uv run pytest

0 commit comments

Comments
 (0)