-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate regression tests, run on 'needs-ci' label only
- Loading branch information
1 parent
507a6fb
commit 8b1060a
Showing
5 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 && ./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 && ./slothy_fft.sh) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters