Skip to content

Commit

Permalink
ci(github): disable type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed Oct 8, 2024
1 parent 2318707 commit 3094678
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,39 +66,39 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

mypy:
name: Static type checking
runs-on: ubuntu-latest
env:
DISPLAY: ':99.0'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install mypy and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[complete] mypy[reports] pyqt6
- name: Run mypy
run: mypy --install-types --non-interactive --html-report mypy-report .

- name: Upload mypy results
uses: actions/upload-artifact@v4
if: always()
with:
name: mypy-report
path: mypy-report/
if-no-files-found: error
# mypy:
# name: Static type checking
# runs-on: ubuntu-latest
# env:
# DISPLAY: ':99.0'
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.12'

# - name: Install mypy and dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install .[complete] mypy[reports] pyqt6

# - name: Run mypy
# run: mypy --install-types --non-interactive --html-report mypy-report .

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

release:
name: Release
runs-on: ubuntu-latest
concurrency:
group: release
needs: [test, mypy]
needs: [test]
if: github.event_name == 'push' && github.repository == 'kmnhan/erlabpy'
environment:
name: pypi
Expand Down

0 comments on commit 3094678

Please sign in to comment.