Skip to content

attempt to improve the text #292

attempt to improve the text

attempt to improve the text #292

Workflow file for this run

name: Check that the code runs
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
check_run:
name: Check that tutorials run
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: [3.12]
topic: ["01_Accessing_Open_Data", "02_Generating_Waveforms", "03_Signal_Processing", "04_Searches", "05_Parameter_Estimation"]
steps:
- run: |
echo "Testing ${{ matrix.topic }} Tutorials on python ${{ matrix.python-version }}"
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Installing requirements
run: |
pip install -r requirements.txt
- name: Test notebooks execution
run: |
for file in Tutorials/${{ matrix.topic }}/*ipynb; do
echo "Checking ${file}";
if ! ./tests/check_run.sh "${file}"; then
echo "::error file=${file},title=Error";
exit 1;
fi
done