From 75d1ae26495e9a35b1479d760192d9b375e8ba12 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Mon, 13 Jan 2020 00:54:30 +0100 Subject: [PATCH] Hard-coded Code Climate test reporter ID Apparently, there's no easy way to submit coverage reports from GitHub pull request builds without exposing this reporter ID. Coverage diff reports should now come in from pull request builds after this commit. The expectation is that Code Climate will comment on the pull requests and mark the build as failed or succeeded based on the coverage diff. This commit also disables sending code coverage reports to Codecov, which has been broken for a while now: https://github.com/codecov/codecov-action/issues/43 --- .github/workflows/test-unit.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 906229a68..66d732e2a 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -7,7 +7,8 @@ on: env: MYSQL_DATABASE: app MYSQL_ROOT_PASSWORD: 'Database Password for Continuous Integration' - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + #CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + CC_TEST_REPORTER_ID: 8948074581c1ffe7f4e47995c65d7d303882310256edd73536723d7c92adb1e3 jobs: test: @@ -120,15 +121,6 @@ jobs: --input ./e107_tests/tests/_output/coverage/codeclimate.json continue-on-error: true - - name: Send code coverage report to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./e107_tests/tests/_output/coverage.xml - flags: unit-tests - name: ${{ matrix.interpreter.image }}-${{ matrix.db.image }} - continue-on-error: true - - name: Upload test output uses: actions/upload-artifact@v1 with: