Skip to content

Commit f867484

Browse files
authored
Update sphinx.yml
1 parent 9e19910 commit f867484

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

.github/workflows/sphinx.yml

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v1
13-
14-
- name: Add packages
15-
run: |
16-
sudo apt-get install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra cm-super dvipng
1713

1814
- name: Cache conda
1915
uses: actions/cache@v2
@@ -25,23 +21,34 @@ jobs:
2521
key:
2622
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }}
2723

28-
- uses: conda-incubator/setup-miniconda@v2
29-
with:
30-
auto-update-conda: true
31-
python-version: 3.7
32-
use-only-tar-bz2: true
33-
34-
- name: Install dependencies
35-
shell: bash -l {0}
24+
- name: Install everything
3625
run: |
26+
sudo apt-get install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra cm-super dvipng
27+
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/miniconda3.sh
28+
chmod +x $HOME/miniconda3.sh
29+
"$HOME/miniconda3.sh -b;"
30+
export PATH=/home/travis/miniconda3/bin:$PATH
31+
conda init bash
32+
source ~/.bashrc
33+
conda create -n test -y python=3.7
34+
conda activate test
3735
conda install --yes -c conda-forge --file requirements.txt
3836
pip install nose-timer
37+
38+
# - uses: conda-incubator/setup-miniconda@v2
39+
# with:
40+
# auto-update-conda: true
41+
# python-version: 3.7
42+
# use-only-tar-bz2: true
43+
44+
# - name: Install dependencies
45+
# shell: bash -l {0}
46+
# run: |
47+
# conda install --yes -c conda-forge --file requirements.txt
48+
# pip install nose-timer
3949

4050
- name: Run nosetest
4151
run: |
42-
export PATH=/usr/share/miniconda/envs/test/bin/:$PATH
43-
which python
44-
which mpirun
4552
nosetests -v --with-timer --with-coverage --cover-erase --cover-inclusive --cover-package=pySDC/core,pySDC/implementations,pySDC/helpers,pySDC/tutorial,pySDC/projects --cover-html --cover-html-dir=doc/build/test_coverage pySDC/tests
4653
4754
- name: Build

0 commit comments

Comments
 (0)