Imported a few libraries and corrected minor errors to run the mappin… #164
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-docs | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
generate-run-shell: true | |
environment-file: requirements.yml | |
create-args: >- | |
python=3.10 | |
pillow | |
sphinx | |
sphinx-gallery | |
sphinx-rtd-theme | |
- name: Install pyCSEP | |
run: | | |
pip install --no-deps -e . | |
python -c "import csep; print('Version: ', csep.__version__)" | |
- name: Build documentation | |
run: | | |
make -C docs clean | |
make -C docs html |