Skip to content

Commit

Permalink
Add oss suffix to OSS tests results (#2261)
Browse files Browse the repository at this point in the history
Problem: We want to be able to differentiate the OSS files when
uploading the tests.

Solution: Add oss suffix to the files
  • Loading branch information
lucacome authored Jul 19, 2024
1 parent 07b9d60 commit 40784ac
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nfr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: results-${{ matrix.type }}
path: tests/results/
path: tests/results/**/*-${{ matrix.type }}.*

- name: Cleanup
working-directory: ./tests
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func CreateResultsFile(filename string) (*os.File, error) {

// CreateResultsFilename returns the name of the results file.
func CreateResultsFilename(ext, base string, plusEnabled bool) string {
name := fmt.Sprintf("%s.%s", base, ext)
name := fmt.Sprintf("%s-oss.%s", base, ext)
if plusEnabled {
name = fmt.Sprintf("%s-plus.%s", base, ext)
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit 40784ac

Please sign in to comment.