Skip to content

Commit 5427407

Browse files
joaopapereiraa-b
authored andcommitted
units jobs needs to run always but steps could be conditional
Signed-off-by: João Pereira <[email protected]>
1 parent 4873273 commit 5427407

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests-integration.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,23 @@ jobs:
7676
fi
7777
units:
7878
name: Basic units to gate for integration tests
79-
if: ${{ inputs.run_unit_tests == 'true' }}
8079
runs-on: ubuntu-latest
8180
needs:
8281
- get-sha
8382
steps:
8483
- name: Checkout
8584
uses: actions/checkout@v4
85+
if: ${{ inputs.run_unit_tests == 'true' }}
8686
with:
8787
ref: ${{needs.get-sha.outputs.gitRef}}
8888
- name: Set Up Go
8989
uses: actions/setup-go@v5
90+
if: ${{ inputs.run_unit_tests == 'true' }}
9091
with:
9192
go-version-file: go.mod
9293
check-latest: true
9394
- name: Run Units
95+
if: ${{ inputs.run_unit_tests == 'true' }}
9496
run: make units
9597

9698
claim-env:

0 commit comments

Comments
 (0)