File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 51
51
name : exports-coverage-basic-ubuntu-22.04-shared-ON-hwloc-ON
52
52
path : coverage
53
53
54
+ - name : Download file exports-coverage-dax-shared-ON
55
+ uses : actions/download-artifact@v4
56
+ with :
57
+ name : exports-coverage-dax-shared-ON
58
+ path : coverage
59
+
60
+ - name : Download file exports-coverage-dax-shared-OFF
61
+ uses : actions/download-artifact@v4
62
+ with :
63
+ name : exports-coverage-dax-shared-OFF
64
+ path : coverage
65
+
54
66
- name : Compute coverage
55
67
working-directory : ${{env.COVERAGE_DIR}}
56
68
run : |
Original file line number Diff line number Diff line change 28
28
UMF_TESTS_FSDAX_PATH : " /mnt/pmem1/file"
29
29
BUILD_DIR : " ${{github.workspace}}/build"
30
30
INSTL_DIR : " ${{github.workspace}}/../install-dir"
31
+ COVERAGE_DIR : " ${{github.workspace}}/coverage"
32
+ COVERAGE_NAME : " exports-coverage-dax"
31
33
32
34
jobs :
33
35
dax :
@@ -100,3 +102,19 @@ jobs:
100
102
UMF_TESTS_FSDAX_PATH=${{env.UMF_TESTS_FSDAX_PATH}} ctest -C ${{matrix.build_type}} -R umf-provider_file_memory -V
101
103
UMF_TESTS_FSDAX_PATH=${{env.UMF_TESTS_FSDAX_PATH}} ctest -C ${{matrix.build_type}} -R umf_example_dram_and_fsdax -V
102
104
UMF_TESTS_FSDAX_PATH=${{env.UMF_TESTS_FSDAX_PATH}} ctest -C ${{matrix.build_type}} -R umf-ipc_file_prov_fsdax -V
105
+
106
+ - name : Check coverage
107
+ if : ${{ matrix.build_type == 'Debug' }}
108
+ working-directory : ${{env.BUILD_DIR}}
109
+ run : |
110
+ export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
111
+ echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
112
+ ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
113
+ mkdir -p ${{env.COVERAGE_DIR}}
114
+ mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
115
+
116
+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
117
+ if : ${{ matrix.build_type == 'Debug' }}
118
+ with :
119
+ name : ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
120
+ path : ${{env.COVERAGE_DIR}}
Original file line number Diff line number Diff line change @@ -111,5 +111,5 @@ jobs:
111
111
needs : [Build]
112
112
uses : ./.github/workflows/multi_numa.yml
113
113
Coverage :
114
- needs : [Spellcheck, CodeStyle, Build ]
114
+ needs : [Build, DevDax ]
115
115
uses : ./.github/workflows/coverage.yml
You can’t perform that action at this time.
0 commit comments