mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
fix order
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user