diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 95df0989..64d46184 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,5 +32,9 @@ jobs: - name: Run tests run: | - pytest --cov-report term --cov=s2fft --cov-config=.coveragerc - codecov --token 298dc7ee-bb9f-4221-b31f-3576cc6cb702 + pytest --cov-report=xml --cov=s2fft --cov-config=.coveragerc + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 75f6777b..6a2c310b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,6 @@ plotting = [ tests = [ "pytest", "pytest-cov", - "codecov", "so3", ]