From b76e1e3942273dffbb88b6df58cfb310c70a85ae Mon Sep 17 00:00:00 2001 From: Josh Washburne Date: Thu, 25 Mar 2021 12:14:11 -0400 Subject: [PATCH] Ignore version.py and upload coverage --- .github/workflows/run-tests.yml | 8 ++++++++ .gitignore | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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