fix(ci): execute unit tests
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Markus Pesch 2023-08-02 23:02:59 +02:00
parent 35d35f0b20
commit 555cea03f8
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -250,7 +250,7 @@ trigger:
---
kind: pipeline
type: docker
name: latest-amd64
name: unit-test-amd64
clone:
disable: true
@ -258,6 +258,96 @@ clone:
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
name: latest-amd64
clone:
disable: true
depends_on:
- unit-test-amd64
platform:
os: linux
arch: amd64
@ -320,7 +410,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm-v7
platform:
os: linux
@ -384,7 +474,7 @@ clone:
disable: true
depends_on:
- linter
- unit-test-arm64
platform:
os: linux