Skip to content

Add black formatting #41

Add black formatting

Add black formatting #41

Workflow file for this run

name: Run tests
on:
push:
pull_request:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install test requirements
run: |
pip install poetry
poetry install
- name: Check formatting
run: poetry run black --check .
- name: Run tests
run: |
poetry run pytest