File tree Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ name : black
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ - uses : psf/black@stable
11+ with :
12+ options : " --check --verbose"
13+
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ timeout-minutes : 20
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ python-version :
13+ - ' 3.9'
14+ - ' 3.10'
15+ - ' 3.11'
16+ - ' 3.12'
17+ - ' 3.13'
18+ django-version :
19+ - ' 4.2'
20+ - ' 5.0'
21+ - ' 5.1'
22+
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - name : set up python ${{ matrix.python-version }}
27+ uses : actions/setup-python@v5
28+ with :
29+ python-version : ${{ matrix.python-version }}
30+
31+ - name : Install poetry
32+ uses : abatilo/actions-poetry@v3
33+
34+ - name : install dependencies
35+ run : |
36+ poetry config virtualenvs.create true --local
37+ poetry config virtualenvs.in-project true --local
38+ poetry install --no-interaction --all-extras --with dev
39+ poetry add django==${{ matrix.django-version }}
40+
41+ - name : run tests
42+ run : |
43+ poetry run pytest -xvv
44+
45+
Original file line number Diff line number Diff line change 1+ name : ruff
2+ on : [push, pull_request]
3+ jobs :
4+ ruff :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+ - uses : chartboost/ruff-action@v1
You can’t perform that action at this time.
0 commit comments