Skip to content

Commit d8f188a

Browse files
committed
GitHub Actions: Add CI pipeline for automated testing
1 parent 4eb8d43 commit d8f188a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
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+
- uses: actions/checkout@v4
15+
16+
- name: Install uv
17+
uses: astral-sh/setup-uv@v5
18+
with:
19+
enable-cache: true
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version-file: "pyproject.toml"
25+
26+
- name: Install dependencies
27+
run: uv sync --frozen
28+
29+
- name: Run tests
30+
run: uv run manage.py test

0 commit comments

Comments
 (0)