File tree Expand file tree Collapse file tree 5 files changed +49
-37
lines changed Expand file tree Collapse file tree 5 files changed +49
-37
lines changed Original file line number Diff line number Diff line change 4
4
push : {branches: [main, master]}
5
5
pull_request : {branches: [main, master]}
6
6
7
+ defaults :
8
+ run :
9
+ shell : bash -l {0}
10
+
7
11
jobs :
8
12
build :
9
13
runs-on : ubuntu-latest
10
- strategy :
11
- matrix :
12
- python : [3.9]
13
14
steps :
14
15
- uses : actions/checkout@v3
15
- - name : Set up Python ${{ matrix.python }}
16
- uses : actions/setup-python@v3
17
- with :
18
- python-version : ${{ matrix.python }}
19
- - name : Install dependencies
20
- run : |
21
- pip install --upgrade pip
22
- pip install -r jupyterbook/requirements.txt
23
16
- name : Disable etelemetry
24
17
run : echo "NO_ET=TRUE" >> $GITHUB_ENV
18
+ - name : Active conda env pydra-tutorial
19
+ uses : conda-incubator/setup-miniconda@v2
20
+ with :
21
+ activate-environment : pydra-tutorial
22
+ environment-file : environment.yml
23
+ - run : conda info
24
+ - run : conda list
25
+ - run : conda config --show
26
+ - name : Install dependencies
27
+ run : pip install jupyter-book
25
28
- name : Build JupyterBook
26
29
run : jb build -W jupyterbook
27
30
- uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: [push, pull_request]
4
4
5
5
defaults :
6
6
run :
7
- shell : bash
7
+ shell : bash -l {0}
8
8
9
9
jobs :
10
10
build :
@@ -16,15 +16,18 @@ jobs:
16
16
runs-on : ${{ matrix.os }}
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
- name : Disable etelemetry
21
- run : echo "NO_ET=TRUE" >> $GITHUB_ENV
22
- - name : Set up Python ${{ matrix.python-version }}
23
- uses : actions /setup-python @v2
21
+ run : echo "NO_ET=TRUE" >> $GITHUB_ENV
22
+ - name : Active conda env pydra-tutorial
23
+ uses : conda-incubator /setup-miniconda @v2
24
24
with :
25
+ activate-environment : pydra-tutorial
26
+ environment-file : environment.yml
25
27
python-version : ${{ matrix.python-version }}
26
- - name : Install requirements
27
- run : python -m pip install -r requirements.txt
28
+ - run : conda info
29
+ - run : conda list
30
+ - run : conda config --show
28
31
- name : Convert all md files to ipynb
29
32
run : jupytext notebooks/*.md --to ipynb
30
33
- name : Test notebooks with pytest
Original file line number Diff line number Diff line change
1
+ name : pydra-tutorial
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ - git-annex
7
+ - pip
8
+ - pip :
9
+ - datalad
10
+ - pydra
11
+ - jupyter
12
+ - jupyter_contrib_nbextensions
13
+ - jupytext
14
+ - jupyterlab
15
+ - matplotlib
16
+ - nbformat
17
+ - nbval
18
+ - nest_asyncio
19
+ - psutil
20
+ - pytest
21
+ - numpy
22
+ - pandas
23
+ - scipy
24
+ - nibabel
25
+ - nilearn
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments