Files
ardupilot/.github/workflows/test_scripts.yml
T
dependabot[bot] b3b88d20c0 .github: Bump actions/checkout
Bumps the github-actions group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-30 08:20:07 +10:00

57 lines
1.4 KiB
YAML

name: test scripts
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ci-${{github.workflow}}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-slim
strategy:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
config: [
astyle-cleanliness,
check_autotest_options,
logger_metadata,
param_parse,
param-file-validation,
python-cleanliness,
shellcheck,
validate_board_list,
]
steps:
# git checkout the PR
- uses: actions/checkout@v7
with:
submodules: false
persist-credentials: false
- name: checkout waf submodule
run: git submodule update --init --recursive --depth 1 modules/waf
- name: install pip dependencies
shell: bash
run: |
python3 -m pip install flake8 lxml pexpect
- name: Install astyle
if: matrix.config == 'astyle-cleanliness'
shell: bash
run: |
sudo apt-get update
sudo apt-get install --yes astyle
- name: test ${{matrix.config}}
env:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
Tools/scripts/build_ci.sh