Skip to content

Commit

Permalink
Merge pull request #73 from underworldcode/dev
Browse files Browse the repository at this point in the history
Move docs to conda which seems robust enough
  • Loading branch information
lmoresi authored Mar 12, 2020
2 parents fe71098 + 071a5ad commit a97018a
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/build_deploy_pdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,26 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
python-version: '3.x'
python-version: 3.7

- name: Install gfortran
run: |
sudo apt-get install -y gfortran
- name: Install dependencies
- name: Install dependencies with conda
shell: bash -l {0}
run: |
python -m pip install --upgrade pip
pip install numpy
pip install scipy
pip install Cython
pip install pdoc3
conda install pip
conda install -c conda-forge compilers numpy scipy
conda install pytest
conda install -c conda-forge pdoc3
- name: Install stripy
shell: bash -l {0}
run: |
pip install -e .
- name: Build docs with pdoc
shell: bash -l {0}
run: |
mkdir -p docs
pdoc --config latex_math=True --html -o docs --force stripy
Expand Down

0 comments on commit a97018a

Please sign in to comment.