Skip to content

Commit

Permalink
split dwi tests between preproc and proc
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen committed Oct 10, 2023
1 parent 4439121 commit 7cad54c
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_pipelines_dwi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
- name: Run tests for dwi pipelines
run: ./scripts/run_nonregression.sh
env:
MODALITY: dwi
TEST: dwi/test_pipelines.py
MODALITY: dwi_pipelines
WORKSPACE: ${{ github.workspace }}

test-pipelines-dwi-Linux:
Expand All @@ -39,5 +40,6 @@ jobs:
- name: Run tests for dwi pipelines
run: ./scripts/run_nonregression.sh
env:
MODALITY: dwi
TEST: dwi/test_pipelines.py
MODALITY: dwi_pipelines
WORKSPACE: ${{ github.workspace }}
45 changes: 45 additions & 0 deletions .github/workflows/test_pipelines_dwi_preprocessing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: DWI Preprocessing Pipelines Tests

on:
push:
branches: [dev]
pull_request:
branches: [dev]

permissions:
contents: read

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
test-pipelines-dwi-preprocessing-MacOS:
runs-on:
- self-hosted
- macOS
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
- name: Run tests for dwi preprocessing pipelines
run: ./scripts/run_nonregression.sh
env:
TEST: dwi/preprocessing
MODALITY: dwi_preprocessing
WORKSPACE: ${{ github.workspace }}

test-pipelines-dwi-preprocessing-Linux:
runs-on:
- self-hosted
- Linux
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
- name: Run tests for dwi preprocessing pipelines
run: ./scripts/run_nonregression.sh
env:
TEST: dwi/preprocessing
MODALITY: dwi_preprocessing
WORKSPACE: ${{ github.workspace }}
2 changes: 1 addition & 1 deletion scripts/run_nonregression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ poetry run pytest --verbose \
--basetemp=$TMP_DIRECTORY \
--junitxml=./test-reports/non_regression_$MODALITY_mac.xml \
--disable-warnings \
./nonregression/pipelines/$MODALITY
./nonregression/pipelines/$TEST

0 comments on commit 7cad54c

Please sign in to comment.