Introduce CodeClimate
to make the test coverage easily accessible.
This commit is contained in:

committed by
Sebastian Serth

parent
795c83f7b2
commit
bd7dc173c3
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
Reference in New Issue
Block a user