fix(ci): execute linter and unit-test in parallel
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2023-08-02 23:26:19 +02:00
parent ad1cf8cbef
commit 87ec3349ea
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -49,6 +49,87 @@ trigger:
exclude:
- tag
---
kind: pipeline
type: docker
name: unit-test-amd64
clone:
disable: true
platform:
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: unit-test-arm-v7
clone:
disable: true
platform:
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
include:
- pull_request
- push
exclude:
- tag
---
kind: pipeline
type: docker
name: unit-test-arm64
clone:
disable: true
platform:
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
include:
- pull_request
- push
exclude:
- tag
---
kind: pipeline
type: docker
@ -58,6 +139,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-amd64
platform:
@ -124,6 +206,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm-v7
platform:
@ -190,6 +273,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm64
platform:
@ -247,96 +331,6 @@ trigger:
repo:
- volker.raschek/dcmerge
---
kind: pipeline
type: docker
name: unit-test-amd64
clone:
disable: true
depends_on:
- linter
platform:
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: unit-test-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
include:
- pull_request
- push
exclude:
- tag
---
kind: pipeline
type: docker
name: unit-test-arm64
clone:
disable: true
depends_on:
- linter
platform:
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.20.6
trigger:
event:
include:
- pull_request
- push
exclude:
- tag
---
kind: pipeline
type: docker
@ -346,6 +340,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-amd64
platform:
@ -410,6 +405,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm-v7
platform:
@ -474,6 +470,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm64
platform: