Repository navigation
Merge pull request #14 from aboutcode-org/json_metrics_schema #108
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: CI Documentation | |
| on: [push, pull_request] | |
| permissions: {} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: [3.13] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install poetry | |
| run: | | |
| curl -sSL https://install.python-poetry.org | python3 - | |
| echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV | |
| - name: Install Dependencies | |
| run: | | |
| ./configure --dev | |
| . venv/bin/activate | |
| poetry install --with docs | |
| - name: Check documentation and HTML for errors and dead links | |
| run: make docs-check | |
| - name: Check documentation for style errors | |
| run: make doc8 | |