28 lines
596 B
YAML
28 lines
596 B
YAML
|
name: Run tests
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- next
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
tests:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
version: [3.10, 3.11, 3.12]
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Setup Python
|
||
|
uses: actions/setup-python@v4
|
||
|
with:
|
||
|
python-version: "${{ matrix.version }}"
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
pip install --upgrade pip setuptools wheel
|
||
|
# install actual deps and dev deps from pyproject.toml
|
||
|
- name: Run tests
|
||
|
run: make test
|