Skip to content

Commit

Permalink
ci(github): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed Sep 12, 2024
1 parent 60de198 commit ef6304a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

mypy:
name: Mypy
name: Static type checking
runs-on: ubuntu-latest
env:
DISPLAY: ':99.0'
Expand All @@ -84,18 +84,14 @@ jobs:
- name: Run mypy
run: mypy --install-types --non-interactive --html-report mypy-report .
continue-on-error: true

- name: Upload mypy results
uses: actions/upload-artifact@v4
if: always()
with:
name: mypy-report
path: mypy-report/

- if: failure()
run: |
echo "Mypy failed"
exit 1
if-no-files-found: error

release:
name: Release
Expand Down

0 comments on commit ef6304a

Please sign in to comment.