Skip to content

Add environment variable dispatch (#2) #5

Add environment variable dispatch (#2)

Add environment variable dispatch (#2) #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run black
run: black --check .
- name: Run ruff
run: ruff check .
- name: Run mypy
run: mypy --strict src.py
- name: Run tests
run: pytest --cov --cov-report=term-missing test.py