Skip to content

Commit b9ae778

Browse files
authored
Fix Single Test Run Failures (temporalio#8367)
## What changed? Add condition for getting the job id during test runs. ## Why? Some jobs will fail to find the local action since the checkout does not fire. Adding the same condition to to get job id should skip the step for single test runs. --------- Co-authored-by: alex stanfield <chaptersix@users.noreply.github.com>
1 parent b0cf1b0 commit b9ae778

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,9 @@ jobs:
512512
with:
513513
path: ~/.cache/go-build
514514
key: go-${{ runner.os }}${{ runner.arch }}-build-${{ env.COMMIT }}
515+
515516
- name: Get job ID
517+
if: ${{ inputs.run_single_functional_test != true || (inputs.run_single_functional_test == true && contains(fromJSON(needs.set-up-single-test.outputs.dbs), env.PERSISTENCE_DRIVER)) }}
516518
id: get_job_id
517519
uses: ./.github/actions/get-job-id
518520
with:

0 commit comments

Comments
 (0)