-
Notifications
You must be signed in to change notification settings - Fork 97
40 lines (30 loc) · 954 Bytes
/
test_doc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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