mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
From https://github.com/google/fuzztest. This will now also add gtest (via cmake FetchContent) And requires newer cmake (container updates): CMake 3.19 or higher is required. You are running version 3.16.3
36 lines
923 B
YAML
36 lines
923 B
YAML
name: EKF Change Indicator
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
|
|
# If two events are triggered within a short time in the same PR, cancel the run of the oldest event
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
unit_tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: main test
|
|
uses: addnab/docker-run-action@v3
|
|
with:
|
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
|
options: -v ${{ github.workspace }}:/workspace
|
|
run: |
|
|
cd /workspace
|
|
git config --global --add safe.directory /workspace
|
|
make tests TESTFILTER=EKF
|
|
|
|
- name: Check if there is a functional change
|
|
run: git diff --exit-code
|
|
working-directory: src/modules/ekf2/test/change_indication
|