File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Continuous Integration
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+ jobs :
8+ ci :
9+ runs-on : " ubuntu-latest"
10+ strategy :
11+ matrix :
12+ python-version : ["3.10", "3.11", "3.12", "3.13"]
13+ django-version : ["4.2", "5.0", "5.1"]
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v5
19+ - name : Setup Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+ - name : Install dependencies
24+ run : |
25+ uv sync
26+ uv pip install django==${{ matrix.django-version }}
27+ - name : Run linting
28+ run : uv run ruff check
29+ - name : Run tests
30+ run : uv run pytest
31+
You can’t perform that action at this time.
0 commit comments