File tree 3 files changed +21
-4
lines changed
3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ coverage:
17
17
default :
18
18
target : 70%
19
19
threshold : 2% # allow coverage to drop maximum by a defined value
20
+ flags :
21
+ - unittest
20
22
patch :
21
23
default :
22
24
target : auto
23
25
threshold : 2% # allow coverage to drop maximum by a defined value
26
+ flags :
27
+ - unittest
24
28
changes : no
25
29
26
30
parsers :
Original file line number Diff line number Diff line change 24
24
# Softwares installed in ubuntu-18.04 instance
25
25
# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
26
26
run : |
27
- sudo apt-get update
27
+ sudo apt-get update
28
28
sudo apt-get install -y libacl1-dev libncurses5-dev git cmake build-essential doxygen graphviz texlive-font-utils lcov
29
29
sudo apt-get install -y plantuml texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended
30
30
@@ -37,10 +37,13 @@ jobs:
37
37
run : |
38
38
mkdir $GITHUB_WORKSPACE/lcov_results
39
39
mkdir $GITHUB_WORKSPACE/lcov_results/unittest
40
+ mkdir $GITHUB_WORKSPACE/lcov_results/unittest_timing
40
41
# add flag to include coverage
41
42
sudo $GITHUB_WORKSPACE/tools/add_test_users.sh
42
43
$GITHUB_WORKSPACE/tools/iceoryx_build_test.sh build-strict build-all test-add-user -c unit
43
44
cp -rf $GITHUB_WORKSPACE/build/lcov/ $GITHUB_WORKSPACE/lcov_results/unittest/
45
+ $GITHUB_WORKSPACE/tools/iceoryx_build_test.sh build-strict build-all test-add-user -c unit-timing clean
46
+ cp -rf $GITHUB_WORKSPACE/build/lcov/ $GITHUB_WORKSPACE/lcov_results/unittest_timing/
44
47
45
48
- name : Upload coverage to Codecov
46
49
uses : codecov/codecov-action@v1
50
53
flags : unittests
51
54
fail_ci_if_error : true
52
55
56
+ - name : Upload coverage to Codecov
57
+ uses : codecov/codecov-action@v1
58
+ with :
59
+ file : ./lcov_results/unittest/lcov/iceoryx_lcov_result_unit-timing.info
60
+ name : iceoryx
61
+ flags : unittests_timing
62
+ fail_ci_if_error : true
63
+
53
64
- name : Generate doxygen documentation
54
65
run : |
55
66
# add flag to include coverage
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Copyright (c) 2019-2020 by Robert Bosch GmbH. All rights reserved.
4
+ # Copyright (c) 2021 by Apex.AI Inc. All rights reserved.
4
5
#
5
6
# Licensed under the Apache License, Version 2.0 (the "License");
6
7
# you may not use this file except in compliance with the License.
@@ -55,7 +56,7 @@ set_sanitizer_options() {
55
56
if [[ ! -f $( which llvm-symbolizer) ]]
56
57
then
57
58
echo " WARNING : llvm-symbolizer not found. Stack trace may not be symbolized!"
58
- fi
59
+ fi
59
60
}
60
61
61
62
for arg in " $@ " ; do
@@ -70,7 +71,7 @@ for arg in "$@"; do
70
71
" continue-on-error" )
71
72
CONTINUE_ON_ERROR=true
72
73
;;
73
- " all" | " unit" | " integration" )
74
+ " all" | " unit" | " unit-timing " | " integration" )
74
75
TEST_SCOPE=" $arg "
75
76
;;
76
77
* )
@@ -131,11 +132,12 @@ execute_test() {
131
132
;;
132
133
" unit" )
133
134
make module_tests
135
+ ;;
136
+ " unit-timing" )
134
137
make timing_module_tests
135
138
;;
136
139
" integration" )
137
140
make integration_tests
138
- make timing_integration_tests
139
141
;;
140
142
" timingtest" )
141
143
make timing_module_tests
You can’t perform that action at this time.
0 commit comments