File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -870,6 +870,27 @@ jobs:
870
870
run : source scripts/run_threads.sh
871
871
env :
872
872
OMP_NUM_THREADS : 4
873
+ - name : Generate gcovr Coverage Data
874
+ run : |
875
+ cd build
876
+ gcovr -r ../ --xml --output ../coverage.xml
877
+ - name : Upload coverage reports to Codecov
878
+
879
+ with :
880
+ token : db9388ce-cf24-4840-b282-8e0070d8666f
881
+ files : coverage.xml
882
+ - name : Generate lcov Coverage Data
883
+ run : |
884
+ cd build
885
+ lcov --capture --directory . --output-file ../coverage.info
886
+ lcov --remove ../coverage.info '*/3rdparty/*' '/usr/*' '*/perf_tests/*' '*/func_tests/*' --output-file ../coverage.info
887
+ cd ..
888
+ genhtml coverage.info --output-directory cov-report
889
+ - name : Upload coverage report artifact
890
+ uses : actions/upload-artifact@v4
891
+ with :
892
+ name : cov-report
893
+ path : ' cov-report'
873
894
ubuntu-gcc-build-perf-stats :
874
895
needs :
875
896
- macos-clang-build
You can’t perform that action at this time.
0 commit comments