File tree Expand file tree Collapse file tree 3 files changed +21
-17
lines changed Expand file tree Collapse file tree 3 files changed +21
-17
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
16
- name : Disable etelemetry
@@ -18,12 +19,12 @@ jobs:
18
19
uses : conda-incubator/setup-miniconda@v2
19
20
with :
20
21
activate-environment : pydra-tutorial
21
- environment-file : etc/ environment.yml
22
- python-version : ${{ matrix.python-version }}
23
- auto-activate-base : false
24
- run : conda activate pydra-tutorial
22
+ environment-file : environment.yml
23
+ - run : conda info
24
+ - run : conda list
25
+ - run : conda config --show
25
26
- name : Install dependencies
26
- run : conda install -c conda-forge jupyter-book
27
+ run : pip install jupyter-book
27
28
- name : Build JupyterBook
28
29
run : jb build -W jupyterbook
29
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,17 +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 : conda-incubator/setup-miniconda@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
25
activate-environment : pydra-tutorial
26
- environment-file : etc/ environment.yml
26
+ environment-file : environment.yml
27
27
python-version : ${{ matrix.python-version }}
28
- auto-activate-base : false
29
- run : conda activate pydra-tutorial
28
+ - run : conda info
29
+ - run : conda list
30
+ - run : conda config --show
30
31
- name : Convert all md files to ipynb
31
32
run : jupytext notebooks/*.md --to ipynb
32
33
- name : Test notebooks with pytest
Original file line number Diff line number Diff line change @@ -3,14 +3,16 @@ channels:
3
3
- conda-forge
4
4
- defaults
5
5
dependencies :
6
- - datalad
7
6
- git-annex
7
+ - pip
8
8
- pip :
9
+ - datalad
9
10
- pydra
10
11
- jupyter
11
12
- jupyter_contrib_nbextensions
12
13
- jupytext
13
14
- jupyterlab
15
+ - matplotlib
14
16
- nbformat
15
17
- nbval
16
18
- nest_asyncio
You can’t perform that action at this time.
0 commit comments