Skip to content

Commit bd63d41

Browse files
committed
add workflow for unit tests
1 parent e79849b commit bd63d41

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/unit.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: unit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
9+
jobs:
10+
unit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v5
17+
18+
- name: Install the project
19+
run: uv sync --all-extras --dev
20+
21+
- name: Run tests
22+
run: uv run pytest -svv tests

0 commit comments

Comments
 (0)