Skip to content

Commit 40784ac

Browse files
authored
Add oss suffix to OSS tests results (#2261)
Problem: We want to be able to differentiate the OSS files when uploading the tests. Solution: Add oss suffix to the files
1 parent 07b9d60 commit 40784ac

File tree

18 files changed

+2
-2
lines changed

18 files changed

+2
-2
lines changed

.github/workflows/nfr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
135135
with:
136136
name: results-${{ matrix.type }}
137-
path: tests/results/
137+
path: tests/results/**/*-${{ matrix.type }}.*
138138

139139
- name: Cleanup
140140
working-directory: ./tests

tests/framework/results.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func CreateResultsFile(filename string) (*os.File, error) {
3535

3636
// CreateResultsFilename returns the name of the results file.
3737
func CreateResultsFilename(ext, base string, plusEnabled bool) string {
38-
name := fmt.Sprintf("%s.%s", base, ext)
38+
name := fmt.Sprintf("%s-oss.%s", base, ext)
3939
if plusEnabled {
4040
name = fmt.Sprintf("%s-plus.%s", base, ext)
4141
}

0 commit comments

Comments
 (0)