Skip to content

Add CI for examples

Add CI for examples #2

Workflow file for this run

name: Regression tests
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
dry_run:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
python3 example.py --dry-run
sqmag:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_sqmag.sh)
fft:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_fft.sh)