test(rdf): record the canonicalizer gaps against the extracted library #250
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 and test documentation | |
| env: | |
| UV_VERSION: "0.11.21" | |
| concurrency: | |
| # Cancel superseded runs on the same PR. github.ref is refs/pull/<n>/merge, | |
| # so each PR is its own group and never cancels another's runs. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| workflow_dispatch: | |
| jobs: | |
| test_docs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Ensure tags if not run from main repo | |
| if: github.repository != 'linkml/linkml' | |
| run: | | |
| git remote add upstream https://github.com/linkml/linkml | |
| git fetch upstream --tags | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v10.0.1 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| enable-cache: true | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v7.0.0 | |
| id: setup-python | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| #---------------------------------------------- | |
| # install dependencies | |
| #---------------------------------------------- | |
| - name: Install dependencies | |
| run: uv sync --group docs --group lint | |
| - name: Build docs | |
| working-directory: docs | |
| env: | |
| SPHINXOPTS: "-W --keep-going" | |
| run: uv run make html |