mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:11:36 +08:00
24 lines
730 B
YAML
24 lines
730 B
YAML
name: EKF Change Indicator
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
unit_tests:
|
|
runs-on: ubuntu-latest
|
|
container: px4io/px4-dev-base-jammy:2024-05-18
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
- name: ownership workaround
|
|
run: git config --global --add safe.directory '*'
|
|
- name: checkout newest version of branch
|
|
run: |
|
|
git fetch origin pull/${{github.event.pull_request.number}}/head:${{github.head_ref}}
|
|
git checkout ${GITHUB_HEAD_REF}
|
|
- name: main test
|
|
run: 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
|