[WIP] Rejuvenate #2
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: Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
python: | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- name: "Checkout codebase" | |
uses: "actions/checkout@v4" | |
- name: "Setup Python" | |
uses: "actions/setup-python@v5" | |
with: | |
python-version: "${{ matrix.python }}" | |
- name: "Install Package with Test Dependencies" | |
run: "pip install -e \".[test]\"" | |
- name: "Run Tests: isort" | |
run: "isort --diff --check decaf/" | |
- name: "Run Tests: black" | |
run: "black --check decaf/" | |
- name: "Run Tests: mypy" | |
run: "mypy --namespace-packages --package decaf.api.client" | |
- name: "Run Tests: flake8" | |
run: "flake8" | |
- name: "Run Tests: pytest" | |
run: "pytest --verbose --doctest-modules" |