Skip to content

chore: bump actions/upload-artifact from 5 to 7 #86

chore: bump actions/upload-artifact from 5 to 7

chore: bump actions/upload-artifact from 5 to 7 #86

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
inputs:
branch:
description: "The branch, tag or SHA to run tests from"
required: true
default: "master"
jobs:
tests:
name: Run tests for ${{ matrix.os }} for ${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14-dev", "3.14t-dev"]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.branch }}
submodules: true
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install test dependencies
run: python -m pip install ".[test]"
- name: Test
run: python -m pytest
- name: Test (pytest-run-parallel)
if: endsWith(matrix.python, 't') || endsWith(matrix.python, 't-dev')
run: python -m pytest --parallel-threads 4