diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67ae0645bb..631a62a69c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,15 +55,15 @@ 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) # 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 + files: ./coverage.xml flags: unittests - name: Test Contrib module with pytest @@ -76,15 +76,15 @@ 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) # 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 + files: ./coverage.xml flags: contrib - name: Run benchmarks