Created
December 13, 2020 09:30
-
-
Save bayborodin/d734da7bca78d9fe921f58828dfa18bf to your computer and use it in GitHub Desktop.
Integrate CodeClimate with GitHub Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Codeclimate test coverage | |
| run: | | |
| export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}" | |
| curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | |
| chmod +x ./cc-test-reporter | |
| ./cc-test-reporter format-coverage -t coverage.py coverage.xml | |
| ./cc-test-reporter upload-coverage -r "${{ secrets.CC_TEST_REPORTER_ID }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment