mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
ci: adds a check for parameter metadata
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -64,3 +64,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Run uORB message docs check
|
- name: Run uORB message docs check
|
||||||
run: Tools/ci/metadata_msg_docs.sh --test-only
|
run: Tools/ci/metadata_msg_docs.sh --test-only
|
||||||
|
|
||||||
|
parameters-check:
|
||||||
|
name: Check parameter reference metadata
|
||||||
|
runs-on: [runs-on,runner=2cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=true]
|
||||||
|
container:
|
||||||
|
image: ghcr.io/px4/px4-dev:v1.16.0-rc1
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: true
|
||||||
|
|
||||||
|
- name: Mark all directories safe for Git
|
||||||
|
run: git config --system --add safe.directory '*'
|
||||||
|
|
||||||
|
- name: Run parameter docs check
|
||||||
|
run: Tools/ci/metadata_parameters.sh --test-only
|
||||||
|
|||||||
Reference in New Issue
Block a user