Added secrets for codeclimate

api-breakage
Morty Space 4 years ago
parent f25659fff4
commit 4f8534979c
  1. 4
      .github/workflows/test.yml

@ -65,7 +65,7 @@ jobs:
author_email: "morty.space@gmail.com" author_email: "morty.space@gmail.com"
author_name: "Morty Space" author_name: "Morty Space"
directory: './src' directory: './src'
message: "[JOB] Updated API pairs and coins" message: "[BOT] Updated API pairs and coins"
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare codeclimate - name: Prepare codeclimate
run: | run: |
@ -77,4 +77,4 @@ jobs:
- name: Test code - name: Test code
run: . activate.sh && poetry run pytest -v --cov . --cov-report xml:coverage.xml run: . activate.sh && poetry run pytest -v --cov . --cov-report xml:coverage.xml
- name: Send codeclimate analytics - name: Send codeclimate analytics
run: ./cc-test-reporter after-build --exit-code $? run: ./cc-test-reporter after-build -r ${{ secrets.CC_TEST_REPORTER_ID }} --exit-code $?

Loading…
Cancel
Save