Skip to content

Commit

Permalink
Merge pull request #841 from jdegenstein/mypy_gha2
Browse files Browse the repository at this point in the history
Workflow Cleanup
  • Loading branch information
jdegenstein authored Jan 7, 2025
2 parents b2e6b3c + 7e189f4 commit 374b209
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
10 changes: 3 additions & 7 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ inputs:
runs:
using: "composite"
steps:
- name: python
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: install requirements
- name: Install Requirements
shell: bash
run: |
pip install wheel
pip install mypy
pip install pytest
pip install pytest-cov
pip install pylint
pip install wheel mypy pytest pytest-benchmark pytest-cov pylint
pip install .
9 changes: 5 additions & 4 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ jobs:
python-version: [
"3.10",
# "3.11",
"3.12"
"3.12",
]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}

- name: typecheck
- name: Typecheck
run: |
mypy --config-file mypy.ini src/build123d

0 comments on commit 374b209

Please sign in to comment.