Skip to content

Commit d3bd897

Browse files
committed
add tests
1 parent eae0802 commit d3bd897

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/python-package.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,30 @@ permissions:
88
contents: read
99

1010
jobs:
11+
test:
12+
name: test
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.11", "3.12", "3.13"]
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: {{ "${{ matrix.python-version }}" }}
24+
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@v6
27+
with:
28+
enable-cache: true
29+
30+
- name: Install dependencies
31+
run: uv sync --extra tests
32+
33+
- name: Run tests
34+
run: uv run pytest
1135
lint:
1236
name: lint
1337
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)