Skip to content

Run tests on push & pull requests #27

Run tests on push & pull requests

Run tests on push & pull requests #27

Workflow file for this run

---
name: test & lint
on: [push, pull_request, workflow_dispatch]
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- run: pip install poetry
- run: poetry install
- name: "Run tests"
run: "python tests.py"
- name: "Run black"
run: poetry run black .