Skip to content

[INFRA] Run DWI non regression tests with GitHub actions #19

[INFRA] Run DWI non regression tests with GitHub actions

[INFRA] Run DWI non regression tests with GitHub actions #19

name: DWI 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
env:
POETRY_VERSION: '1.6.1'
PYTHON_VERSION: '3.10'
jobs:
test-pipelines-dwi-MacOS:
runs-on:
- self-hosted
- macOS
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
- name: Run tests for dwi pipelines
run: ./scripts/run_nonregression.sh
env:
TEST: dwi/test_pipelines.py
MODALITY: dwi_pipelines
WORKSPACE: ${{ github.workspace }}
test-pipelines-dwi-Linux:
runs-on:
- self-hosted
- Linux
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- name: Run tests for dwi pipelines
run: ./scripts/run_nonregression.sh
env:
TEST: dwi/test_pipelines.py
MODALITY: dwi_pipelines
WORKSPACE: ${{ github.workspace }}