mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
52896c6040
The test workflow installed Node 22 but never used it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
920 B
YAML
48 lines
920 B
YAML
name: "Tests"
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request: ~
|
|
workflow_dispatch:
|
|
|
|
# Cancel redundant in-progress jobs.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
test:
|
|
name: "Python ${{ matrix.python-version }}"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: [
|
|
"3.10",
|
|
"3.11",
|
|
"3.12",
|
|
"3.13",
|
|
"3.14",
|
|
"3.14t",
|
|
"pypy3.11",
|
|
]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v7
|
|
with:
|
|
activate-environment: true
|
|
enable-cache: true
|
|
cache-suffix: ${{ matrix.python-version }}
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install package
|
|
run: uv pip install '.[develop,test]'
|
|
|
|
- name: Run tests
|
|
run: pytest
|