-
Notifications
You must be signed in to change notification settings - Fork 355
35 lines (32 loc) · 1009 Bytes
/
tut-test.yml
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
name: tutorial tests
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 60
matrix:
os: [ubuntu-20.04]
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: installing packages
run: |
sudo apt-get -o Acquire::Retries=3 update
sudo apt-get -o Acquire::Retries=3 install *fftw3* mpi intel-mkl*
pip install tox pip setuptools notebook --upgrade
pip install .
- name: retrieving pycbc tutorials
run: |
git clone https://github.com/gwastro/PyCBC-Tutorials
- name: running pycbc tutorials
run: |
cd PyCBC-Tutorials
./test_notebooks