diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41228f7..20b5833 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -246,20 +246,22 @@ jobs: - run: nix build -L ".#${{ matrix.attr }}" + - run: find result*; cp result-coverage/coverage.info coverage.info || true + - name: Upload coverage reports to Codecov - if: ${{ hashFiles('result-coverage/coverage.info') != '' }} + if: ${{ hashFiles('coverage.info') != '' }} uses: codecov/codecov-action@v4 with: - file: result-coverage/coverage.info + file: coverage.info token: ${{ secrets.CODECOV_TOKEN }} slug: jbboehr/php-perfifidous - name: Coveralls - if: ${{ hashFiles('result-coverage/coverage.info') != '' }} + if: ${{ hashFiles('coverage.info') != '' }} uses: coverallsapp/github-action@v2 continue-on-error: true with: - file: result-coverage/coverage.info + file: coverage.info format: lcov parallel: true