forked from NFFT/pyGroupedTransforms
-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·32 lines (30 loc) · 839 Bytes
/
Copy pathci.yml
File metadata and controls
executable file
·32 lines (30 loc) · 839 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
name: CI
on:
push:
branches: [main, test]
tags: [v*]
pull_request:
jobs:
test:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12'] # Specify the Python versions you want to test against
os: [ubuntu-latest, windows-latest]
name: Python ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyNFFT3
pip install numpy
pip install scipy
- name: Run tests
run: |
python -m tests.run_tests