tests: Set artifact name based to avoid file override from different subruns

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz 2023-01-20 09:19:49 +01:00
parent 0e6074f4e3
commit 1a315097de
3 changed files with 8 additions and 0 deletions

View File

@ -13,15 +13,18 @@ jobs:
ref: main
count: 100
testTimeout: 200m
artifactName: test-main
test-35:
uses: ./.github/workflows/linearizability-template.yaml
with:
ref: release-3.5
count: 100
testTimeout: 200m
artifactName: test-35
test-34:
uses: ./.github/workflows/linearizability-template.yaml
with:
ref: release-3.4
count: 100
testTimeout: 200m
artifactName: test-34

View File

@ -12,6 +12,9 @@ on:
required: false
type: string
default: '30m'
artifactName:
required: true
type: string
permissions: read-all
jobs:
test:
@ -46,4 +49,5 @@ jobs:
- uses: actions/upload-artifact@v2
if: always()
with:
name: ${{ inputs.artifactName }}
path: /tmp/linearizability/*

View File

@ -8,3 +8,4 @@ jobs:
ref: ${{ github.ref }}
count: 15
testTimeout: 30m
artifactName: test