Reinstate html_css_files parameter for handling top banner of the docs #11237
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: Doctest build | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'locale/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'locale/**' | |
| permissions: # added using https://github.com/step-security/secure-repo | |
| contents: read | |
| jobs: | |
| doctest: | |
| runs-on: ubuntu-latest | |
| name: Doctest | |
| services: | |
| image: docker | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1 | |
| with: | |
| disable-sudo: true | |
| egress-policy: block | |
| allowed-endpoints: > | |
| archive.ubuntu.com:80 | |
| auth.docker.io:443 | |
| demo.mapserver.org:443 | |
| files.pythonhosted.org:443 | |
| github.com:443 | |
| production.cloudflare.docker.com:443 | |
| pypi.org:443 | |
| qgis.org:443 | |
| raw.githubusercontent.com:443 | |
| registry-1.docker.io:443 | |
| nbg1.your-objectstorage.com:443 | |
| security.ubuntu.com:80 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Pip upgrade | |
| run: | | |
| python -m pip install --upgrade pip | |
| - name: Build test code | |
| run: | | |
| make -f docker.mk doctest | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: Doctest build | |
| path: ./build/doctest/output.txt |