mypy
topology and find
#1605
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This runs jobs which pyiron modules should run on pushes or PRs to main | |
name: Push-main-Pull-all | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
pyiron: | |
uses: pyiron/actions/.github/workflows/[email protected] | |
secrets: inherit | |
with: | |
docs-env-files: .ci_support/environment.yml | |
notebooks-env-files: .ci_support/environment.yml | |
extra-python-paths: tests tests/benchmark tests/integration tests/static tests/unit # For executorlib | |
python-version-alt3: 'exclude' # No python 3.9 | |
alternate-tests-env-files: .ci_support/lower_bound.yml | |
alternate-tests-python-version: '3.10' | |
alternate-tests-dir: tests/unit | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
architecture: x64 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install mypy | |
run: pip install mypy | |
- name: Test | |
run: mypy --ignore-missing-imports ${{ github.event.repository.name }} | |
ruff-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v1 | |
with: | |
args: check | |
ruff-sort-imports: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v1 | |
with: | |
args: check --select I --fix --diff |