This commit is contained in:
@@ -9,18 +9,18 @@ on:
|
||||
jobs:
|
||||
check:
|
||||
runs-on: [self-hosted, pod]
|
||||
container:
|
||||
image: python:3.12-bookworm
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install checker dependencies
|
||||
run: python3 -m pip install --disable-pip-version-check -r requirements-docs.txt
|
||||
run: |
|
||||
python3 -m venv .venv
|
||||
.venv/bin/python -m pip install --disable-pip-version-check -r requirements-docs.txt
|
||||
- name: Test checker
|
||||
run: python3 -m unittest discover -s tests -v
|
||||
run: .venv/bin/python -m unittest discover -s tests -v
|
||||
- name: Check documentation
|
||||
run: python3 scripts/check_docs.py
|
||||
run: .venv/bin/python scripts/check_docs.py
|
||||
- name: Check whitespace
|
||||
run: git show --format= --check HEAD
|
||||
|
||||
Reference in New Issue
Block a user