Merge pull request 'Better ci tests' (#10) from feature/cool-ci-tests into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
This commit is contained in:
commit
e418ea627f
12
.drone.yml
12
.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 &
|
||||
- sleep 5
|
||||
- xargs wget -O /dev/null <testing/packages.txt
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
5
testing/packages.txt
Normal file
5
testing/packages.txt
Normal file
@ -0,0 +1,5 @@
|
||||
http://127.0.0.1:8080/axios
|
||||
http://127.0.0.1:8080/svelte
|
||||
http://127.0.0.1:8080/@sveltejs/kit
|
||||
http://127.0.0.1:8080/release-it
|
||||
http://127.0.0.1:8080/auto-changelog
|
Loading…
x
Reference in New Issue
Block a user