QA tests: Only CatalogForecast flat-files, and fix ETAS src code interface with floatcsep #115
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: docs | |
on: | |
push: | |
branches-ignore: | |
- 'v*' | |
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: environment.yml | |
create-args: >- | |
python=${{ matrix.python-version }} | |
- name: Install pip dependencies | |
run: | | |
pip install -r requirements_dev.txt | |
- name: Install floatCSEP | |
run: | | |
pip install --no-deps -e . | |
python -c "import floatcsep; print('Version: ', floatcsep.__version__)" | |
- name: Build documentation | |
run: | | |
make -C docs clean | |
make -C docs html |