Skip to content

Commit

Permalink
Merge branch 'example-failed-pylint'
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusWiedemann committed Jun 11, 2024
2 parents 6ec707c + 2fa8be5 commit 237ac6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "coverage=${COVERAGE_PERCENT}" >> $GITHUB_ENV
- name: Create mypy warning badge
if: always()
if: ${{ steps.branch_name.outputs.branch_name == 'main' }}
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
Expand All @@ -68,7 +68,7 @@ jobs:
invertColorRange: true

- name: Create pylint badge
if: always()
if: ${{ steps.branch_name.outputs.branch_name == 'main' }}
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
Expand All @@ -81,7 +81,7 @@ jobs:
maxColorRange: 9

- name: Create coverage badge
if: always()
if: ${{ steps.branch_name.outputs.branch_name == 'main' }}
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![Main Branch Buildresults](https://img.shields.io/badge/Main%20Branch%20Buildresults:-blue)
![ci build results](https://github.com/JuliusWiedemann/PythonCIExample/actions/workflows/python-ci.yml/badge.svg)
![pylint-score](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/pylint-score.json)
![mypy-warnings](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/mypy_warnings.json)
Expand Down

0 comments on commit 237ac6e

Please sign in to comment.