test examples #4
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
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@v4 | |
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 |