-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (37 loc) · 1.13 KB
/
Copy pathpython-package.yml
File metadata and controls
40 lines (37 loc) · 1.13 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
name: Python package
env:
CLONE_PATH: ${{ github.workspace }}
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
#####----- FULL TESTING WITHOUT COVERAGE
# Prefer full end-to-end test of local installation via tox's use of pytest.
build_supported:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Please adjust pyproject.toml Python version requirement to match
# supported version expressed here.
#
# Windows fails with Python 3.14 due to lack of prebuilt numpy wheels.
# See python-installation.yml.
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Setup Python with tox
shell: bash
run: $CLONE_PATH/.github/workflows/install_tox.sh
- name: Run test suite
run: tox -r -e nocoverage