-
Notifications
You must be signed in to change notification settings - Fork 1.3k
50 lines (48 loc) · 1.26 KB
/
fpp-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: "FppTest"
on:
push:
branches: [ devel, release/** ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ devel, release/** ]
paths-ignore:
- 'docs/**'
- '**.md'
- '.github/actions/spelling/**'
- '.github/ISSUE_TEMPLATE/**'
jobs:
fpptest:
name: Run FppTest
runs-on: ubuntu-22.04
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: "Install requirements.txt"
run: |
pip3 install -r ./requirements.txt
shell: bash
- name: "Generate UT build cache"
working-directory: ./FppTest
run: |
fprime-util generate --ut
shell: bash
- name: "Build UTs"
working-directory: ./FppTest
run: |
fprime-util build --ut
shell: bash
- name: "Run UTs"
working-directory: ./FppTest
run: |
fprime-util check
shell: bash
- name: "Archive Logs"
uses: actions/upload-artifact@v4
if: always()
with:
name: FppTest-Logs
path: ./FppTest/build-fprime-automatic-native-ut/Testing/Temporary/*.log
retention-days: 5