diff --git a/.coverage b/.coverage index 92578ae..9b50848 100644 Binary files a/.coverage and b/.coverage differ diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7d2cca3..7cae0a2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,6 +28,11 @@ jobs: python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with unittest + - name: Run tests with coverage run: | - python -m unittest + coverage run -m unittest discover + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }}