ci: Removed pypy-3.9 and python 3.12-dev from the CI workflow for tes… #27
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: "Squishy Docs" | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
document: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Initialize Environment | |
shell: bash | |
env: | |
WORKSPACE: ${{ github.workspace }} | |
run: | | |
echo "$HOME/.local/bin:$PATH" >> $GITHUB_PATH | |
echo "GITHUB_WORKSPACE=\"`pwd`\"" >> $GITHUB_ENV | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
submodules: true | |
- name: Setup | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get install graphviz | |
sudo pip3 install --upgrade pip setuptools wheel | |
pip3 install --user -r ./docs/requirements.txt | |
pip3 install --user . | |
- name: Build Docs | |
shell: bash | |
run: | | |
sphinx-build -b html ./docs ./_build/ | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: _build | |
CLEAN: true |