Skip to content

custom phase input as a general example #394

custom phase input as a general example

custom phase input as a general example #394

Workflow file for this run

name: mypy
on:
pull_request:
workflow_call:
inputs:
job:
required: true
type: string
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS) }}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: mypy
run: |
pip install mypy
pip install '.[tests]'
mkdir .mypy_cache
mypy --install-types --non-interactive meteor/ test/