Skip to content

Commit 5b9740b

Browse files
committed
fix TEST CI
1 parent b000e0c commit 5b9740b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)