Skip to content

Commit

Permalink
better CI
Browse files Browse the repository at this point in the history
  • Loading branch information
enzofrnt committed May 17, 2024
1 parent 7c669d3 commit 18848d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ jobs:
pip install ../../
- name: Run Coverage
run: |
cd ./test/app/ && coverage run manage.py test && coverage xml
cd ./test/app/ && coverage run manage.py test && coverage html && coverage xml
- name: Upload Coverage to GitHub
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: ./test/app/coverage.xml
path: ./test/app/htmlcov
- name: Report Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./test/app/coverage.xml
files: ./test/app/htmlcov/coverage.xml

publish-module:
if: github.event_name == 'release' || github.event.inputs.job == 'publish-module' || github.event.inputs.job == 'all'
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,8 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# MacOS
.DS_Store
.AppleDouble
.LSOverride

0 comments on commit 18848d4

Please sign in to comment.