-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 1.05 KB
/
python-testing-matrix.yml
File metadata and controls
42 lines (32 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Testing matrix
on:
push:
branches: [ devel ]
pull_request:
branches: [ devel ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest] # , windows-latest due to TcK install errors
# scipy 1.15.3 and 1.16.0 have no wheel for python 3.14
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
# git checkout
- uses: actions/checkout@v4
# Install uv
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
# Install library
- name: Install the project
run: uv sync --all-extras --dev --no-build-package scipy
# Run tests
- name: Run tests
# For example, using `pytest`
run: uv run pytest bsplines2d/tests -v -x