From 8b568806f6dea685253c2ae62c6c9c7f17a6326d Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 11 Oct 2021 01:55:26 -0500 Subject: [PATCH 1/2] Update action to v2 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67ae0645bb..ea4ad1142e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: - name: Report core project coverage with Codecov (contributors) # Run on pull_request events if PR comes from contributor fork if: github.repository != 'scikit-hep/pyhf' && github.event_name == 'pull_request' && matrix.python-version == 3.9 && matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: file: ./coverage.xml flags: unittests @@ -82,7 +82,7 @@ jobs: - name: Report contrib coverage with Codecov (contributors) # Run on pull_request events if PR comes from contributor fork if: github.repository != 'scikit-hep/pyhf' && github.event_name == 'pull_request' && matrix.python-version == 3.9 && matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: file: ./coverage.xml flags: contrib From cfd3e13f0029c2a872ae87f854416e7fb13f729d Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 11 Oct 2021 01:56:04 -0500 Subject: [PATCH 2/2] change to files --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea4ad1142e..631a62a69c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + files: ./coverage.xml flags: unittests - name: Report core project coverage with Codecov (contributors) @@ -63,7 +63,7 @@ jobs: if: github.repository != 'scikit-hep/pyhf' && github.event_name == 'pull_request' && matrix.python-version == 3.9 && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v2 with: - file: ./coverage.xml + files: ./coverage.xml flags: unittests - name: Test Contrib module with pytest @@ -76,7 +76,7 @@ jobs: uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + files: ./coverage.xml flags: contrib - name: Report contrib coverage with Codecov (contributors) @@ -84,7 +84,7 @@ jobs: if: github.repository != 'scikit-hep/pyhf' && github.event_name == 'pull_request' && matrix.python-version == 3.9 && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v2 with: - file: ./coverage.xml + files: ./coverage.xml flags: contrib - name: Run benchmarks