Skip to content

Adds validation and final 0.0.9 fixes #7

Adds validation and final 0.0.9 fixes

Adds validation and final 0.0.9 fixes #7

Workflow file for this run

name: test-tools
on:
push:
branches:
- master
paths:
- "tools/**"
- '.github/workflows/tools.yml'
pull_request:
paths:
- "tools/**"
- '.github/workflows/tools.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
mypy:
name: Run mypy
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install poetry
run: |
curl -sSL "https://install.python-poetry.org" | python
# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
cd tools
poetry config virtualenvs.in-project true
poetry run pip install -U pip
poetry install
- run: cd tools && poetry run mypy *.py