feat!: reimplement dtocean-economics #46
Workflow file for this run
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: docs test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "poetry.lock" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "poetry.lock" | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| test: | |
| name: Test the current branch | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Install poetry | |
| uses: abatilo/actions-poetry@v2 | |
| - name: Install package | |
| run: | | |
| poetry install --only docs | |
| - name: Build docs | |
| run: | | |
| poetry run sphinx-build -W --keep-going -b html docs ${{ runner.temp }} |