chore(deps): bump pytest from 7.4.4 to 8.1.0 #54
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
name: Lint & Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# only support Python 3.10+ due to type hinting | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Analysing the code with flake8 | |
run: | | |
python -m flake8 ./app | |
- name: Analaysing codebase with mypy | |
run : | | |
python -m mypy --check ./app | |
- name: Analysing the code with black | |
run: | | |
python -m black --check ./app | |
- name: Analysing imports with isort | |
run : | | |
python -m isort --check ./app | |
- name: Running test suite | |
run: | | |
python -m pytest ./app | |
if: always() |