Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: fix coverage issue
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Apr 19, 2024
1 parent 7635a8f commit 68096be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
COVERAGE_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: make validate
- name: Make Static and Validate Translations
env:
Expand All @@ -47,9 +46,8 @@ jobs:
make validate_translations
- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ shell: ## Run Python shell with devstack settings
python manage.py shell

coverage: clean
$(TOX)pytest --cov-report html -t $(COVERAGE_TOKEN)
$(TOX)pytest --cov-report html

test: clean ## run tests and generate coverage report
$(TOX)pytest
Expand Down

0 comments on commit 68096be

Please sign in to comment.