test-location-paths: Updates to new parser option name #517
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: quality-checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_call: | |
inputs: | |
ref: | |
required: true | |
type: string | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: A git reference to check out. | |
default: main | |
required: true | |
type: string | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- 3.8 # 2024-10 | |
- 3.9 # 2025-10 | |
- "3.10" # 2026-10 | |
- "3.11" # 2027-10 | |
- "3.12" # 2028-10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: extractions/setup-just@v2 | |
- run: pip install hatch | |
- run: just pytest | |
other-quality-checks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
- code-lint | |
- doctest | |
- mypy | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: extractions/setup-just@v2 | |
- run: pip install hatch | |
- run: just ${{ matrix.target }} | |
... |