Skip to content

Pulling back python dependency to 3.9.18 as the test infrastructure o… #15

Pulling back python dependency to 3.9.18 as the test infrastructure o…

Pulling back python dependency to 3.9.18 as the test infrastructure o… #15

name: Run Tests on push
on:
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.10.15
uses: actions/setup-python@v2
with:
python-version: 3.10.15
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install project
run: poetry install --no-interaction
- name: Run tests
run: |
source .venv/bin/activate
poetry run pytest --hypothesis-profile=push