Skip to content

build: gh actions for pypi auto publish #76

build: gh actions for pypi auto publish

build: gh actions for pypi auto publish #76

Workflow file for this run

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