Skip to content

Commit 9225b43

Browse files
authored
fix: failing tests sometimes cause CI uploads to get skipped (#4071)
Co-authored-by: hannahs.kim <[email protected]>
1 parent 3d45ade commit 9225b43

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/multios-unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
path: .git
5252
key: gitdb-${{ github.repository_id }}-${{ github.sha }}
5353
- name: Checkout
54-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v2.7.0
54+
if: always()
55+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5556
with:
5657
ref: ${{ github.sha }}
5758
clean: false

.github/workflows/orchestrion.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,12 @@ jobs:
291291
name: coverage-integration+${{ matrix.mode }}+go${{ steps.go.outputs.version }}+${{ runner.os }}+${{ runner.arch }}
292292
path: ${{ github.workspace }}/orchestrion/coverage/integration.out
293293

294-
# Checkout and prepare for uploading to Datadog CI
295294
- name: Checkout
296295
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
296+
if: always()
297297
with:
298-
repository: 'DataDog/dd-trace-go'
299-
ref: ${{ inputs.orchestrion-version != '' && 'main' || github.ref }}
298+
ref: ${{ inputs.orchestrion-version != '' && 'main' || github.sha }}
299+
clean: false
300300
- name: Upload the results to Datadog CI App
301301
if: always()
302302
continue-on-error: true

.github/workflows/unit-integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ jobs:
293293
key: gitdb-${{ github.repository_id }}-${{ github.sha }}
294294
- name: Checkout
295295
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
296+
if: always()
296297
with:
297298
ref: ${{ github.sha }}
298299
clean: false

0 commit comments

Comments
 (0)