fix(ci): execute unit tests
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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