Skip to content

Commit

Permalink
Consolidate regression tests, run on 'needs-ci' label only
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Mar 15, 2024
1 parent 507a6fb commit 8b1060a
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 30 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test_basic.yaml
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)
15 changes: 0 additions & 15 deletions .github/workflows/test_examples_dry_run.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/test_script_basic.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/test_script_kyber_ntt_a55.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Kyber NTT Cortex-A55
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
build_test:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_script_ntt_helium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Helium NTT
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
build_test:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8b1060a

Please sign in to comment.