From d70eb4f439b12dcf3b44b5c8c7e77d4ce20df9a9 Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Tue, 16 Apr 2024 16:36:04 -0400 Subject: [PATCH] Update tests.yml for codecov (#185) --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bc76e1a..e84c149 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,8 +43,9 @@ jobs: run: python -m pytest tests --cov=pennylane_cirq --cov-report=term-missing --cov-report=xml -p no:warnings --tb=native - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.codecov_token }} file: ./coverage.xml integration-tests: @@ -86,6 +87,7 @@ jobs: pl-device-test --device=cirq.pasqal --tb=short --skip-ops --analytic=False --shots=20000 --device-kwargs control_radius=2. --cov=pennylane_cirq --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.codecov_token }} file: ./coverage.xml