Skip to content

add tests

add tests #175

Workflow file for this run

name: Build and Test
on: push
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "**/requirements.txt"
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run pytest
run: |
pip install .['test']
pytest --cov=tests/