Skip to content

Adds mypy configuration #200

Adds mypy configuration

Adds mypy configuration #200

Workflow file for this run

name: tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- uses: actions/checkout@v3
- name: Install dependencies
working-directory: .
run: |
ls -la
python -m pip install virtualenv
python -m virtualenv .venv
source .venv/bin/activate
pip install pytest
pip install -r requirements.txt
export PYTHONPATH+=$PYTHONPATH:$(pwd)
pip install -e .
- name: Test with pytest
run: |
source .venv/bin/activate
python -m pytest . -vv