Update tests #47
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 | |
on: | |
push: | |
branches: [ main, dev ] | |
paths: | |
- 'docs/**' | |
- 'pyeconomics/**' | |
pull_request: | |
branches: [ main, dev ] | |
paths: | |
- 'docs/**' | |
- 'pyeconomics/**' | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # Ensure to use the latest version for Node.js 20 support | |
- name: Set up Python | |
uses: actions/setup-python@v5 # Ensure to use the latest version for Node.js 20 support | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install sphinx | |
- name: Build Sphinx Documentation | |
run: | | |
cd docs | |
make html |