Skip to content

Format files with pre-commit #18

Format files with pre-commit

Format files with pre-commit #18

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
- name: Install required packages
run: |
poetry install
- name: Run pytest
run: |
poetry run python -m pytest