Skip to content

Merge pull request #27 from alphahm/type-check #21

Merge pull request #27 from alphahm/type-check

Merge pull request #27 from alphahm/type-check #21

Workflow file for this run

name: pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- 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
pip install -r requirements.txt
pip install -e .
- name: lint
run: |
black --check src/
- name: mypy
run: |
mypy src
- name: Test with pytest
run: |
pytest