Skip to content

Commit

Permalink
adjust the codacy upload to not run if key missing
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Mar 26, 2024
1 parent d42d2c0 commit f982112
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
run: |
poetry run pytest --cov-report=xml
- name: Run codacy-coverage-reporter
if: ${{ env.SKIP_COVERAGE_UPLOAD != 'true'}}
env:
CODACY_CONFIGURED: ${{ secrets.CODACY_PROJECT_TOKEN }}
if: ${{ env.CODACY_CONFIGURED != ''}}
uses: codacy/codacy-coverage-reporter-action@v1
continue-on-error: true
with:
Expand Down

0 comments on commit f982112

Please sign in to comment.