File tree 2 files changed +8
-1
lines changed
actions/build-native-binary
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 89
89
if : ${{ inputs.arch=='amd64' }}
90
90
run : |
91
91
cd dist_${{ inputs.arch }}_testing/utest
92
- ./TestSelfUpdateAgent
92
+ ./TestSelfUpdateAgent > ../../unit_tests_report.txt
93
93
mkdir report
94
94
gcovr --root ../.. --html --html-details --output report/coverage.html -e ../../3rdparty -e ../../utest -e ../../src/main.cpp
95
95
tar -czvf ../../code-coverage.tar.gz report
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ jobs:
102
102
with :
103
103
path : code-coverage.tar.gz
104
104
105
+ - name : Upload unit tests results to workspace
106
+ if : ${{ matrix.arch == 'amd64' }}
107
+ uses : actions/upload-artifact@v3
108
+ with :
109
+ path : unit_tests_report.txt
110
+
105
111
upload-native-binary :
106
112
runs-on : ubuntu-latest
107
113
needs : build-native-binary
@@ -123,6 +129,7 @@ jobs:
123
129
automatic_release_tag : build_${{ github.run_number }}
124
130
title : " Build ${{ github.run_number }}"
125
131
files : |
132
+ ./artifact/unit_tests_report.txt
126
133
./artifact/code-coverage.tar.gz
127
134
./artifact/self-update-agent-amd64-build-${{ github.run_number }}.tar.gz
128
135
./artifact/self-update-agent-arm64-build-${{ github.run_number }}.tar.gz
You can’t perform that action at this time.
0 commit comments