forked from nasa/cFE
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.15 KB
/
code-coverage-eds.yml
File metadata and controls
52 lines (45 loc) · 1.15 KB
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
name: "Code Coverage Analysis, EDS enabled"
on:
push:
branches:
- dev
- main
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:
schedule:
# 11:00 PM UTC every Sunday
- cron: '0 23 * * 0'
env:
SIMULATION: native
ENABLE_UNIT_TESTS: true
OMIT_DEPRECATED: false
CFE_EDS_ENABLED: true
BUILDTYPE: debug
jobs:
Execute-Unit-Tests:
name: Build and Execute CFE unit tests
runs-on: ubuntu-22.04
container: ghcr.io/core-flight-system/cfsbuildenv-linux:latest
timeout-minutes: 15
steps:
- name: Checkout CFE
uses: actions/checkout@v6
with:
path: cfe
- name: Set up Dependencies
uses: ./cfe/.github/actions/setup-cfe
with:
source-dir: .
preferred-ref: ${{ github.head_ref }}
org: nasa
- name: Execute coverage testing
uses: ./cfe/.github/actions/code-coverage
with:
module-list: config core_api core_private es evs fs resourceid sb sbr tbl time
allowed-missed-branches: 21
allowed-missed-lines: 13
allowed-missed-functions: 0