Repository navigation
Merge pull request #11 from stat-lib/codex/separate-todo-page #28
This file contains hidden or 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: Build site | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Validate homepage snapshot | |
| run: python3 tools/build_homepage_data.py --validate-only | |
| - name: Test homepage data extraction | |
| run: python3 -m unittest discover -s tools -p "test_*.py" | |
| - name: Rebuild generated HTML | |
| run: python3 tools/build_site.py | |
| - name: Check generated files are committed | |
| run: git diff --exit-code |