Feature/packaging #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
types: | |
- opened | |
- synchronize | |
- closed | |
# TODO: Use some kind of cache to speed up running. | |
jobs: | |
test-main-python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -e . | |
- name: Unit Tests | |
run: coverage run -m pytest -s tests | |
- name: Test Coverage | |
run: coverage report --fail-under=96 | |
- name: Pre-Commit Hooks | |
run: | | |
pre-commit install | |
pre-commit run --all-files | |
test-matrix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -e . | |
- name: Run Test Matrix | |
run: tox run --skip-env py3.12 |