Skip to content

extending CI workflow files #4

extending CI workflow files

extending CI workflow files #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 mypy pytest coverage
- name: Lint with flake8
run: flake8 .
- name: Type check with mypy
run: mypy --strict .
- name: Run tests with pytest
run: pytest --cov=.