diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7b91ba82edf..9168af32ac1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -231,14 +231,16 @@ jobs: mv reports/codeception-front-reports/acceptance\ \(chrome,\ github_action\).remote.coverage.xml reports/acceptance.front.coverage.xml mv reports/codeception-installer-reports/acceptance\ \(chrome,\ github_action\).remote.coverage.xml reports/acceptance.installer.coverage.xml - name: Upload unit test coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: files: ./reports/phpunit-reports/coverage1.xml + token: ${{ secrets.CODECOV_TOKEN }} flags: Unit fail_ci_if_error: true - name: Upload E2E coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: files: ./reports/acceptance.admin01.coverage.xml,./reports/acceptance.admin02.coverage.xml,./reports/acceptance.admin03.coverage.xml,./reports/acceptance.front.coverage.xml,./reports/acceptance.installer.coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} flags: E2E fail_ci_if_error: true