From d5dee57938cb67c24a91328ad4b489b7483df8d0 Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Tue, 19 Sep 2023 17:02:05 -0400 Subject: [PATCH] Update codecov setup --- .github/workflows/test-package.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 24ad1e3..59b9312 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -38,9 +38,10 @@ jobs: - name: Test with pytest run: | pytest --cov --cov-config=setup.cfg --cov-report=term --cov-report=xml:coverage.xml - - name: Post coverage report - run: | - codecov + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Build docs run: | cd docs