Skip to content

Commit

Permalink
Run mypy without dedicated action
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Aug 6, 2024
1 parent 9ff6655 commit f6c1365
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ jobs:
python-version: [ "3.10", "3.11", "3.12", "3.13.0-beta.4" ]
steps:
- uses: actions/checkout@v4
- uses: theCapypara/mypy-check@rust-support
name: Run type checks
with:
mypy_flags: '--config-file mypy.ini --junit-xml mypy.xml'
requirements: '-r requirements.txt'
python_version: '${{ matrix.python-version }}'
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
name: MyPy Test Results (Python ${{ matrix.python-version }})
path: mypy.xml
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt mypy
- name: Run type checks
run: |
mypy --config-file mypy.ini
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f6c1365

Please sign in to comment.