Skip to content

Commit 79d3eae

Browse files
committed
chore(CI): add code-climate env variable for test coverage report
1 parent 365b37f commit 79d3eae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/code-climate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
2929
chmod +x ./cc-test-reporter
3030
./cc-test-reporter before-build
31+
env:
32+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
3133

3234
- name: Run tests
3335
run: tox -e tests
@@ -37,3 +39,5 @@ jobs:
3739
run: |
3840
coverage xml -o coverage.xml
3941
./cc-test-reporter after-build --coverage-input-type coverage.py --exit-code 0
42+
env:
43+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

0 commit comments

Comments
 (0)