2023-03-08 21:55:00 -04:00
|
|
|
name: test scripts
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ci-${{github.workflow}}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
container: ardupilot/ardupilot-dev-base:latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false # don't cancel if a job from the matrix fails
|
|
|
|
matrix:
|
|
|
|
config: [
|
2023-03-08 21:59:09 -04:00
|
|
|
check_autotest_options,
|
|
|
|
param_parse,
|
2023-03-09 18:46:02 -04:00
|
|
|
python-cleanliness,
|
|
|
|
validate_board_list,
|
|
|
|
]
|
2023-03-08 21:55:00 -04:00
|
|
|
steps:
|
|
|
|
# git checkout the PR
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
- name: test ${{matrix.config}}
|
|
|
|
env:
|
|
|
|
CI_BUILD_TARGET: ${{matrix.config}}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
Tools/scripts/build_ci.sh
|