File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,24 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
15- - uses : actions /setup-python@v4
15+ - uses : astral-sh /setup-uv@v5
1616 with :
17- python-version : " 3.12"
17+ version : " latest"
18+ python-version : " 3.12"
19+ enable-cache : true
1820
1921 - name : Install dependencies
2022 run : |
21- pip3 install -r requirements.txt
23+ uv pip install -r requirements.txt
2224
2325 - name : run Tests
2426 run : |
25- python3 manage.py test
27+ coverage run --parallel-mode --concurrency=multiprocessing ./manage.py test --parallel -v 3
28+ coverage combine
29+ coverage xml -o coverage.xml
30+
31+ - uses : codecov/codecov-action@v5
32+ with :
33+ files : ./coverage.xml
34+ token : ${{ secrets.CODECOV_TOKEN }}
35+ fail_ci_if_error : true # optional (default = false)
You can’t perform that action at this time.
0 commit comments