reverting to 3.9 #309
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: pages | |
on: | |
push: | |
branches: | |
- main | |
- correct_auto_documentation | |
jobs: | |
pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y openmpi-bin libopenmpi3 libopenmpi-dev | |
- name: install haddock3 with extra dependencies | |
run: pip install '.[dev,docs]' | |
- name: install openmm | |
run: conda install -c conda-forge openmm pdbfixer | |
- name: Generate docs | |
run: | | |
sphinx-apidoc -f -e -o docs/ src/haddock -d 1 | |
sphinx-build -b html docs haddock3-docs | |
- name: deploy | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: haddock3-docs | |
GITHUB_TOKEN: ${{ secrets.PAGES }} |