Skip to content

Commit 65244f6

Browse files
committed
test: run the integration tests only for pull requests
No need to run it anywhere else. Removing it will speed up the builds. Signed-off-by: Artem Chernyshev <[email protected]>
1 parent ed946b3 commit 65244f6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-01-15T09:42:39Z by kres fcff05e.
3+
# Generated on 2025-01-29T12:41:12Z by kres 987bf4d.
44

55
name: default
66
concurrency:
@@ -169,6 +169,7 @@ jobs:
169169
run: |
170170
make omnictl
171171
- name: run-integration-test
172+
if: github.event_name == 'pull_request'
172173
env:
173174
INTEGRATION_RUN_E2E_TEST: "true"
174175
INTEGRATION_TEST_ARGS: --test.run CleanState/|Auth/|DefaultCluster/|CLICommands/

.kres.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ spec:
157157
- >-
158158
@hack/test/integration.sh
159159
ghaction:
160+
condition: on-pull-request
160161
enabled: true
161162
sops: true
162163
artifacts:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-01-15T11:45:55Z by kres 3b3f992.
3+
# Generated on 2025-01-29T12:40:15Z by kres 987bf4d.
44

55
# common variables
66

@@ -28,7 +28,7 @@ GOIMPORTS_VERSION ?= 0.29.0
2828
DEEPCOPY_VERSION ?= v0.5.6
2929
GOLANGCILINT_VERSION ?= v1.63.4
3030
GOFUMPT_VERSION ?= v0.7.0
31-
GO_VERSION ?= 1.23.4
31+
GO_VERSION ?= 1.23.5
3232
GO_BUILDFLAGS ?=
3333
GO_LDFLAGS ?=
3434
CGO_ENABLED ?= 0

0 commit comments

Comments
 (0)