mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
Use Python 3.9 - 3.12 and Ansible 2.14 - 2.16, devel and milestone to run tests of the collection. Use the latest stable python version in test setups where sensible. Instead of using the integration.yml workflog from main use it from the same commit as the test runs instead. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
36 lines
951 B
YAML
36 lines
951 B
YAML
name: Lint extra docsite docs and links
|
|
on:
|
|
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
|
|
push:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
pull_request:
|
|
# Run CI once per day (at 06:00 UTC)
|
|
# This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
|
|
jobs:
|
|
docsite:
|
|
name: Lint extra docsite docs and links
|
|
permissions:
|
|
contents: read
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.x
|
|
cache: pip
|
|
|
|
- name: Install antsibull-docs
|
|
run: pip install antsibull-docs --disable-pip-version-check
|
|
|
|
- name: Run collection docs linter
|
|
run: antsibull-docs lint-collection-docs .
|