Ignore version.py and upload coverage

This commit is contained in:
Josh W 2021-03-25 12:14:11 -04:00
parent 5c8d040e51
commit b76e1e3942
2 changed files with 12 additions and 1 deletions

View file

@ -39,3 +39,11 @@ jobs:
- name: Test with pytest - name: Test with pytest
run: | run: |
python -m pytest python -m pytest
- name: Upload coverage to Codecov.io
run: |
bash <(curl -s https://codecov.io/bash)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}
- uses: actions/upload-artifact@v2
with:
path: coverage.xml
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}

3
.gitignore vendored
View file

@ -140,3 +140,6 @@ cython_debug/
# VSCode Settings # VSCode Settings
.vscode/ .vscode/
# setuptools_scm auto-generated version file
src/pyebur128/version.py