From bd7dc173c3b0d30cf27f97a085c58dcbc3e91e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Pa=C3=9F?= <22845248+mpass99@users.noreply.github.com> Date: Sun, 29 May 2022 16:44:30 +0200 Subject: [PATCH] Introduce CodeClimate to make the test coverage easily accessible. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6164747..ff4e757 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,14 @@ jobs: continue-on-error: true - name: Run tests run: make coverhtml + - name: Publish code coverage + uses: paambaati/codeclimate-action@v3.0.0 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + prefix: github.com/openHPI/poseidon/ + coverageLocations: | + ${{github.workspace}}/coverage_cleaned.cov:gocov - name: Upload coverage report uses: actions/upload-artifact@v2 with: