2021-07-13 11:45:58 -03:00
|
|
|
name: EKF Change Indicator
|
2020-02-01 05:41:12 -04:00
|
|
|
|
2020-12-08 19:05:28 -04:00
|
|
|
on: pull_request
|
2020-02-01 05:41:12 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
unit_tests:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-08 09:03:50 -03:00
|
|
|
container: px4io/px4-dev-base-focal:2021-09-08
|
2020-02-01 05:41:12 -04:00
|
|
|
steps:
|
2020-12-08 19:05:28 -04:00
|
|
|
- uses: actions/checkout@v2.3.1
|
2021-07-14 19:29:43 -03:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-08 19:05:28 -04:00
|
|
|
- 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}
|
2020-02-01 05:41:12 -04:00
|
|
|
- name: main test
|
2021-07-14 19:29:43 -03:00
|
|
|
run: make tests TESTFILTER=EKF
|
2020-12-08 19:05:28 -04:00
|
|
|
- name: Check if there is a functional change
|
2021-07-13 11:45:58 -03:00
|
|
|
run: git diff --exit-code
|
2021-07-14 19:29:43 -03:00
|
|
|
working-directory: src/modules/ekf2/test/change_indication
|