Skip to content

Refactoring to make testing easier & adding tests #2

Refactoring to make testing easier & adding tests

Refactoring to make testing easier & adding tests #2

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
tests:
name: Run pytest
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Poetry
run: |
pip install --constraint=.github/workflows/constraints.txt poetry
poetry --version
poetry install
poetry run python -m pytest