Skip to content

test examples

test examples #147

Workflow file for this run

---
name: test examples
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: 0 0 1 * *
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test_examples:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install neurodocker
run: python -m pip install --editable .
- name: test common uses
run: bash < docs/common_uses/conda_multiple_env.txt
- name: 'test nipype_tuto: failure expected'
run: bash < docs/examples/nipype_tuto.txt
# do not fail the workflow if the example fails
continue-on-error: true