From d148f546048faacd19d4e5077ff51c09180abf7b Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 25 Feb 2023 17:47:36 +0100 Subject: [PATCH] added ci redis test --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d1782a9..a9235a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,7 +61,7 @@ kind: pipeline type: kubernetes name: test:pr steps: - - name: basic build test + - name: basic build image: registry.odit.services/hub/library/golang:1.20-alpine3.16 commands: - go mod download @@ -70,6 +70,16 @@ steps: CGO_ENABLED: "0" GOOS: linux GOARCH: amd64 + - name: test with redis + image: registry.odit.services/hub/library/redis:7-alpine3.16 + commands: + - redis-server & + - ./build & + - wget http://localhost:8080/axios + environment: + CGO_ENABLED: "0" + GOOS: linux + GOARCH: amd64 trigger: event: - pull_request \ No newline at end of file