Skip to content

Commit

Permalink
Merge pull request #11 from Xpirix/remove_codecov
Browse files Browse the repository at this point in the history
Remove code coverage from test.yaml
  • Loading branch information
Xpirix authored May 3, 2024
2 parents 69ed88c + e93c0bd commit b79c288
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 b79c288

Please sign in to comment.