From b4f4796150fa66239e32e7ef9354d3129ef575d5 Mon Sep 17 00:00:00 2001 From: Anton Bracke Date: Tue, 18 Mar 2025 12:35:01 +0100 Subject: [PATCH] fix order --- .woodpecker/integration.yaml | 8 +++++--- test/integration/repo/repo_registry_test.go | 4 +++- test/integration/repo/repo_secret_test.go | 4 +++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.woodpecker/integration.yaml b/.woodpecker/integration.yaml index 41c0eb83e..d2be5437f 100644 --- a/.woodpecker/integration.yaml +++ b/.woodpecker/integration.yaml @@ -15,7 +15,7 @@ when: path: *when_path steps: - vendor: + - name: vendor image: *golang_image commands: - go mod vendor @@ -24,14 +24,16 @@ steps: - <<: *when_path - '.woodpecker/**' - integration: + - name: integration image: *golang_image + depends_on: + - vendor commands: - go test ./test/integration/... when: - path: *when_path - codecov: + - name: codecov depends_on: - integration pull: true diff --git a/test/integration/repo/repo_registry_test.go b/test/integration/repo/repo_registry_test.go index 509cbe550..52084d216 100644 --- a/test/integration/repo/repo_registry_test.go +++ b/test/integration/repo/repo_registry_test.go @@ -1,5 +1,7 @@ package integration -func TestRegistryInjected() { +import "testing" + +func TestRegistryInjected(t *testing.T) { // TODO: check if a registry was injected into the pipeline config } diff --git a/test/integration/repo/repo_secret_test.go b/test/integration/repo/repo_secret_test.go index 58770a33e..2ec8c0979 100644 --- a/test/integration/repo/repo_secret_test.go +++ b/test/integration/repo/repo_secret_test.go @@ -1,5 +1,7 @@ package integration -func TestSecretInjected() { +import "testing" + +func TestSecretInjected(t *testing.T) { // TODO: check if a secret was injected into the pipeline config }