Skip to content

[Feat] Automatically link glossary entries #45

[Feat] Automatically link glossary entries

[Feat] Automatically link glossary entries #45

Workflow file for this run

name: Tests
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'requirements.txt'
- 'Makefile'
- '.github/workflows/tests.yml'
- '.github/workflows/tests-skip.yml'
pull_request:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'requirements.txt'
- 'Makefile'
- '.github/workflows/tests.yml'
- '.github/workflows/tests-skip.yml'
jobs:
pytest:
name: pytest (unit + integration)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0
with:
python-version: "3.13"
- name: Install Python dependencies
run: |
pip install git+https://github.com/gardenlinux/glrd.git@v4.1.0
# Install python-gardenlinux-lib from the same commit the aggregation
# documents (see repos-config.json). This keeps the installed gardenlinux
# module in sync with the fetched source so Sphinx autodoc can import
# gardenlinux.* (e.g. oci -> podman, distro_version -> semver) and generate
# the CLI/API reference pages. Pinning an older release tag here drops
# those deps and breaks the python-gardenlinux-lib-cli reference.
pip install git+https://github.com/gardenlinux/python-gardenlinux-lib.git@2a27700198bc91e0f9b8321960ebc4709d65c41a
pip install -r requirements.txt
- name: Run tests
run: make test