refact: use falcon http_status_to_code directly #963
Workflow file for this run
This file contains hidden or 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: Python Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- main | |
merge_group: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
enable-cache: true | |
ignore-nothing-to-cache: true | |
- name: Install dependencies | |
run: make install | |
- name: Lint | |
run: make lint | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 7 | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.11"] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
enable-cache: true | |
ignore-nothing-to-cache: true | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: make install | |
- name: Test | |
run: make test |