Skip to content

build(deps-dev): bump mypy from 1.9.0 to 1.10.0 #209

build(deps-dev): bump mypy from 1.9.0 to 1.10.0

build(deps-dev): bump mypy from 1.9.0 to 1.10.0 #209

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Extract python version
id: python-version
run: |
python_version=$(grep '^python =' pyproject.toml | awk -F'"' '{print $2}')
echo "::set-output name=python-version::$python_version"
echo "python-version=$python_version" >> $GITHUB_OUTPUT
- name: Set up python version
uses: actions/setup-python@v4
with:
python-version: ${{ steps.python-version.outputs.python-version }}
- name: Install poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Run ruff
run: |
poetry run ruff check .
- name: Run static type checking
run: |
poetry run mypy tabletoppy
- name: Run tests
run: |
poetry run pytest --cov-fail-under=100