Skip to content

Commit 588f3c6

Browse files
authored
Add GitHub Actions workflow to run tests (#7)
1 parent e0e4449 commit 588f3c6

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v5
19+
20+
- name: Set up Python
21+
run: uv python install 3.13
22+
23+
- name: Install dependencies
24+
run: uv sync --dev
25+
26+
- name: Run tests
27+
run: uv run pytest

0 commit comments

Comments
 (0)