mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
413028b636
The fundamental commands to mostly use are: - poe format - poe check
42 lines
880 B
YAML
42 lines
880 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 }} on ${{ matrix.os }}"
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [
|
|
"ubuntu-latest",
|
|
"macos-12",
|
|
"macos-latest",
|
|
]
|
|
python-version: [
|
|
"3.10",
|
|
"3.11",
|
|
"3.12",
|
|
"3.13",
|
|
"pypy3.10",
|
|
]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- uses: yezz123/setup-uv@v4
|
|
- run: uv pip install --editable '.[graphql,develop,test]' --system
|
|
- run: poe check
|