Skip to content

scanner: inline config loader no-op runtime indirections #135

scanner: inline config loader no-op runtime indirections

scanner: inline config loader no-op runtime indirections #135

Workflow file for this run

name: prism
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.14"]
ansible-core-version: ["2.17.*", "2.18.*", "2.19.*"]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install "ansible-core==${{ matrix.ansible-core-version }}"
- name: Run typecheck
run: |
tox -e typecheck
- name: Run tests
run: |
python -m pytest -q --cov=src/prism --cov-report=xml:debug_readmes/coverage.xml --cov-fail-under=90
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Generate role docs
run: |
prism role src/prism/tests/roles/enhanced_mock_role --fail-on-yaml-like-task-annotations -o README.generated.md
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: generated-readme
path: README.generated.md