Skip to content

Fix in session defaults for verify, and stream (#167) #373

Fix in session defaults for verify, and stream (#167)

Fix in session defaults for verify, and stream (#167) #373

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9", "pypy-3.10"]
os: [ubuntu-22.04, macOS-13, windows-latest]
include:
# pypy-3.7, pypy-3.8 may fail due to missing cryptography wheels. Adapting.
- python-version: pypy-3.7
os: ubuntu-22.04
- python-version: pypy-3.8
os: ubuntu-22.04
- python-version: pypy-3.8
os: macOS-13
exclude:
# pypy 3.9 and 3.10 suffers from a wierd bug, probably due to gc
# this bug prevent us from running the suite on Windows.
- python-version: pypy-3.9
os: windows-latest
- python-version: pypy-3.10
os: windows-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
- name: Install dependencies
run: |
pip install nox
- name: Run tests
run: |
nox -s "test-${{ startsWith(matrix.python-version, 'pypy') && 'pypy' || matrix.python-version }}"