diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d51d95c..9de4f93 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -39,3 +39,11 @@ jobs: - name: Test with pytest run: | 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' }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index dfdec1b..d2d0a63 100644 --- a/.gitignore +++ b/.gitignore @@ -139,4 +139,7 @@ dmypy.json cython_debug/ # VSCode Settings -.vscode/ \ No newline at end of file +.vscode/ + +# setuptools_scm auto-generated version file +src/pyebur128/version.py \ No newline at end of file