Skip to content

ci: allow tests to be triggered by workflow dispatch #289

ci: allow tests to be triggered by workflow dispatch

ci: allow tests to be triggered by workflow dispatch #289

Workflow file for this run

name: Tests
on:
push:
branches: main
pull_request:
branches: "*"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10.10"
cache: "pip"
cache-dependency-path: |
requirements.txt
requirements-dev.txt
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Format code with Black
run: |
make fmt
- name: Run Tests
run: |
make test