Skip to content

docs: link to the hosted playgrounds from the README #6

docs: link to the hosted playgrounds from the README

docs: link to the hosted playgrounds from the README #6

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
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