Repository navigation
ci: check external links weekly, opening an issue when one dies #2
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: CI | |
| on: | |
| pull_request: | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.11" | |
| - name: Build site | |
| run: uv run mkdocs build --strict | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # librsvg2-bin supplies rsvg-convert. Without it every PNG assertion skips | |
| # itself, so the version check is what keeps the job from passing empty. | |
| - name: Install rsvg-convert | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y librsvg2-bin | |
| rsvg-convert --version | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.11" | |
| - name: Run tests | |
| run: uv run pytest |