-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (48 loc) · 1.24 KB
/
unit_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
51
52
53
54
55
56
57
name: Flight Software Regression Unit Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- 'ptest/**'
- 'tlm/**'
- 'MCT/**'
- 'cmdclient/**'
- 'docs/**'
- 'README.md'
- 'LICENSE'
- '.github/workflows/hootl.yml'
env:
CI: true
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: actions/setup-python@v1
with:
python-version: '3.6'
architecture: 'x64'
- name: Install dependencies
run: |
sudo apt-get install lcov
sudo gem install coveralls-lcov
python -m pip install --upgrade pip
pip install -r requirements.txt
platformio update
- name: Desktop flight software tests
run: platformio test -e fsw_native_ci -v
- name: Common software tests
run: |
platformio test -e native_common -v
platformio test -e native_common_ci -v
- name: Ground software tests
run: ./tools/run_ground_tests.sh
- name: Verify FSW Teensy builds
run: |
./tools/verify_teensy_builds.sh
- name: Verify ADCS Teensy builds
run: ./tools/verify_adcs_builds.sh