build(deps): bump pytest from 8.1.1 to 8.2.0 #35
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 workflow will install Python dependencies, run tests and lint with a single | |
# version of Python | |
# For more information see: | |
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: linux build & test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Install poetry package and environment manager | |
run: | | |
curl -sSL https://install.python-poetry.org | python | |
- name: Install python dependencies with poetry | |
run: | | |
poetry install | |
- name: Static type check with mypy | |
run: | | |
poetry run mypy . | |
- name: Static type check with pyright | |
run: | | |
poetry run pyright . | |
- name: Lint with black | |
run: | | |
poetry run black --check . | |
- name: Lint with flake8 | |
run: | | |
poetry run flake8 . --count --show-source --statistics | |
- name: Test with pytest | |
run: | | |
poetry run pytest |