Skip to content

Commit

Permalink
Remove code coverage from test.yaml (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix authored May 3, 2024
1 parent 69ed88c commit 119269b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,12 @@ jobs:
- name: Wait for the containers to start
run: sleep 15

- name: Run Coverage test
- name: Run test
run: |
docker-compose exec -T devweb bash -c '
set -e # Exit immediately if any command fails
pip install coverage &&
python manage.py makemigrations &&
python manage.py migrate &&
coverage run manage.py test &&
coverage xml
python manage.py test
'
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 119269b

Please sign in to comment.