Skip to content

Bump the actions group across 1 directory with 7 updates #22

Bump the actions group across 1 directory with 7 updates

Bump the actions group across 1 directory with 7 updates #22

Workflow file for this run

name: tests
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- "v[0-9]+*"
workflow_dispatch:
permissions:
contents: read
jobs:
# The package advertises Python >=3.8, so every advertised version is tested.
# PEP 604 syntax is only legal at runtime on 3.10+, which is why the modules
# carrying annotations import `from __future__ import annotations`; this
# matrix is what keeps that from silently regressing.
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- run: pip install -e . pytest
- run: python -c "import wavespeed; print(wavespeed.__version__)"
- run: python -m pytest -q