fix order

This commit is contained in:
Anton Bracke
2025-03-18 12:35:01 +01:00
parent b47c13fd44
commit b4f4796150
3 changed files with 11 additions and 5 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}