Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .github/actions/reqstool-status/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: "reqstool status"
description: "Install reqstool (from PyPI or reqstool-client@main) and run reqstool status against a reqstool data path. By default just reports status; set fail-if-incomplete to gate CI on every requirement being complete. Must run after the repo's own build step, in the same job, since it depends on build-time artifacts (e.g. annotations.yml, test results)."
description: "Run reqstool status against a reqstool data path. By default just reports status; set fail-if-incomplete to gate CI on every requirement being complete. Requires reqstool to already be installed (see the install-reqstool action) and must run after the repo's own build step, in the same job, since it depends on build-time artifacts (e.g. annotations.yml, test results)."

inputs:
reqstool-source:
description: "Where to install reqstool from: 'pypi' (latest release) or 'main' (reqstool-client@main)."
required: false
default: "pypi"
reqstool-path:
description: "Path to the reqstool data directory (containing requirements.yml etc.), relative to repo root."
required: false
Expand All @@ -14,20 +10,10 @@ inputs:
description: "Fail the step unless all requirements are implemented (passes --check-all-reqs-met). Leave false for repos that intentionally have incomplete requirements (e.g. demo/fixture repos)."
required: false
default: "false"
python-version:
description: "Python version to use."
required: false
default: "3.13"

runs:
using: "composite"
steps:
- name: Install reqstool
uses: ./.github/actions/install-reqstool
with:
reqstool-source: ${{ inputs.reqstool-source }}
python-version: ${{ inputs.python-version }}

- name: Run reqstool status
shell: bash
env:
Expand Down
16 changes: 1 addition & 15 deletions .github/actions/validate-reqstool/action.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
name: "Validate reqstool"
description: "Install reqstool (from PyPI or reqstool-client@main) and run reqstool validate --strict (spec completeness: every requirement has SVCs, manual SVCs have MVRs) against a reqstool data path. Must run after the repo's own build step, in the same job, since it depends on build-time artifacts (e.g. annotations.yml, test results). The 'validate' subcommand isn't on PyPI yet — until it ships in a release, only invoke this action for a 'main' leg."
description: "Run reqstool validate --strict (spec completeness: every requirement has SVCs, manual SVCs have MVRs) against a reqstool data path. Requires reqstool to already be installed (see the install-reqstool action) and must run after the repo's own build step, in the same job, since it depends on build-time artifacts (e.g. annotations.yml, test results). The 'validate' subcommand isn't on PyPI yet — until it ships in a release, only invoke this action where reqstool was installed from reqstool-client@main."

inputs:
reqstool-source:
description: "Where to install reqstool from: 'pypi' (latest release) or 'main' (reqstool-client@main)."
required: false
default: "pypi"
reqstool-path:
description: "Path to the reqstool data directory (containing requirements.yml etc.), relative to repo root."
required: false
default: "docs/reqstool"
python-version:
description: "Python version to use."
required: false
default: "3.13"

runs:
using: "composite"
steps:
- name: Install reqstool
uses: ./.github/actions/install-reqstool
with:
reqstool-source: ${{ inputs.reqstool-source }}
python-version: ${{ inputs.python-version }}

- name: Run reqstool validate --strict
shell: bash
env:
Expand Down