-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 972 Bytes
/
python_bindings.yml
File metadata and controls
42 lines (35 loc) · 972 Bytes
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
name: Python bindings
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request]
jobs:
tests_cases:
name: Test for Python ${{ matrix.py_version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
py_version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
- '3.x' # Explicit latest
steps:
- name: Checkout repo
uses: actions/checkout@v5
- name: Setup Python ${{ matrix.py_version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.py_version }}
- name: Setup requirements
run: |
python3 --version
python3 -m pip install -U maturin
- name: Install local crunch64
run: python3 -m pip install ./lib
- name: Run tests
run: python3 ./python_bindings/tests.py