File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 87
87
name : exports-coverage-gpu-CUDA-shared-OFF
88
88
path : coverage
89
89
90
+ - name : Download file exports-coverage-multinuma-os-ubuntu-22.04
91
+ uses : actions/download-artifact@v4
92
+ with :
93
+ name : exports-coverage-multinuma-os-ubuntu-22.04
94
+ path : coverage
95
+
90
96
- name : Compute coverage
91
97
working-directory : ${{env.COVERAGE_DIR}}
92
98
run : |
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ on: [workflow_call]
6
6
permissions :
7
7
contents : read
8
8
9
+ env :
10
+ BUILD_DIR : " ${{github.workspace}}/build"
11
+ INSTL_DIR : " ${{github.workspace}}/../install-dir"
12
+ COVERAGE_DIR : " ${{github.workspace}}/coverage"
13
+ COVERAGE_NAME : " exports-coverage-multinuma"
14
+
9
15
jobs :
10
16
multi_numa :
11
17
name : ${{matrix.os}}
59
65
ctest --output-on-failure --test-dir test -E "umf-provider_os_memory_multiple_numa_nodes"
60
66
./test/umf_test-provider_os_memory_multiple_numa_nodes \
61
67
--gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
68
+
69
+ - name : Check coverage
70
+ if : matrix.os == 'ubuntu-22.04'
71
+ working-directory : ${{env.BUILD_DIR}}
72
+ run : |
73
+ export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.os}}
74
+ echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
75
+ ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
76
+ mkdir -p ${{env.COVERAGE_DIR}}
77
+ mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
78
+
79
+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
80
+ if : matrix.os == 'ubuntu-22.04'
81
+ with :
82
+ name : ${{env.COVERAGE_NAME}}-shared-${{matrix.os}}
83
+ 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 : [Build, DevDax, GPU]
114
+ needs : [Build, DevDax, GPU, MultiNuma ]
115
115
uses : ./.github/workflows/coverage.yml
You can’t perform that action at this time.
0 commit comments