Skip to content

Commit e34370f

Browse files
authored
Update sphinx.yml
1 parent c26e373 commit e34370f

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

.github/workflows/sphinx.yml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,45 +10,36 @@ 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
1317
1418
- name: Cache conda
1519
uses: actions/cache@v2
1620
env:
1721
# Increase this value to reset cache if etc/example-environment.yml has not changed
18-
CACHE_NUMBER: 0
22+
CACHE_NUMBER: 1
1923
with:
2024
path: ~/conda_pkgs_dir
2125
key:
2226
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }}
2327

24-
- name: Install everything
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}
2536
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 ~/miniconda3.sh
28-
chmod +x ~/miniconda3.sh
29-
~/miniconda3.sh -b;
30-
export PATH=/usr/share/miniconda/bin/:$PATH
31-
conda init bash
32-
source ~/.bashrc
33-
conda create -n test -y python=3.7
34-
conda activate test
3537
conda install --yes -c conda-forge --file requirements.txt
3638
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
4939
5040
- name: Run nosetest
5141
run: |
42+
export PATH=/usr/share/miniconda/envs/test/bin/:$PATH
5243
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
5344
5445
- name: Build

0 commit comments

Comments
 (0)