File tree Expand file tree Collapse file tree 6 files changed +21
-48
lines changed Expand file tree Collapse file tree 6 files changed +21
-48
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,16 @@ jobs:
10
10
11
11
# Install
12
12
- run :
13
- name : Installation and docs build
13
+ name : Install dependencies
14
14
command : |
15
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
16
- bash miniconda.sh -b -p $HOME/miniconda
17
- export PATH="$HOME/miniconda/bin:$PATH"
18
- source "$HOME"/miniconda/etc/profile.d/conda.sh
19
- conda config --set always_yes yes --set changeps1 no
20
- conda env create -f environment.yml
21
- conda activate jupyter-sphinx
22
- python -m ipykernel install --user --name python3 --display-name "Python3"
15
+ pip install --user -r requirements.txt
23
16
pip install --user .
24
-
17
+ - run :
18
+ name : Build documentation
19
+ command : |
25
20
cd doc
26
21
make html
27
22
28
-
29
-
30
-
31
23
- store_artifacts :
32
24
path : doc/build/html/
33
25
destination : html
Original file line number Diff line number Diff line change @@ -23,17 +23,11 @@ jobs:
23
23
24
24
- name : Install dependencies
25
25
run : |
26
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
27
- bash miniconda.sh -b -p $HOME/miniconda
28
- export PATH="$HOME/miniconda/bin:$PATH"
29
- source "$HOME"/miniconda/etc/profile.d/conda.sh
30
- conda config --set always_yes yes --set changeps1 no
31
- conda env create -f environment.yml
32
- conda activate jupyter-sphinx
33
- python -m ipykernel install --user --name python3 --display-name "Python3"
34
- pip install .
35
-
36
- pytest
26
+ pip install --user -r requirements.txt
27
+ pip install --user .
28
+
29
+ - name : Run tests
30
+ run : pytest
37
31
38
32
publish :
39
33
Original file line number Diff line number Diff line change @@ -16,14 +16,7 @@ matrix:
16
16
# Because we are using multiple extra packages, installation is much more
17
17
# involved and we use conda.
18
18
install :
19
- - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
20
- - bash miniconda.sh -b -p $HOME/miniconda
21
- - export PATH="$HOME/miniconda/bin:$PATH"
22
- - source "$HOME"/miniconda/etc/profile.d/conda.sh
23
- - conda config --set always_yes yes --set changeps1 no
24
- - conda env create -f environment.yml
25
- - conda activate jupyter-sphinx
26
- - python -m ipykernel install --user --name python3 --display-name "Python3"
19
+ - pip install --user -r requirements.txt
27
20
- pip install .
28
21
script :
29
22
- make -C doc html
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
conda :
2
- file : environment.yml
2
+ file : requirements.txt
3
3
formats : []
Original file line number Diff line number Diff line change
1
+ sphinx == 1.8.5
2
+ ipywidgets >= 7.0.0
3
+ IPython
4
+ nbconvert >= 5.4
5
+ nbformat
6
+
7
+ # For documentation building and testing
8
+ matplotlib
9
+ pytest
You can’t perform that action at this time.
0 commit comments