Several addition for version 0.2.0 #2
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: Sphinx_build_test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'selfeeg/**' | |
- 'docs/**' | |
- '.github/workflows/doc_build_test.yml' | |
jobs: | |
sphinxbuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U sphinx | |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu | |
pip install -r docs/doc_requirements.txt | |
- name: Install Pandoc | |
run: sudo apt-get install pandoc | |
- name: Sphinx build | |
run: sphinx-build -M html docs docs |