From 27d366737234b294ec24b03d61b8cf2d834f13c1 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sun, 2 Jul 2023 21:01:44 +0200 Subject: [PATCH] chore(): Adds test pipeline --- .drone.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b2884b7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,49 @@ +--- +kind: pipeline +name: test + +steps: +- name: test-linux-amd64 + image: golang + environment: + GOOS: linux + GOARCH: amd64 + commands: + - go get + - go test + +- name: test-darwin-amd64 + image: golang + environment: + GOOS: darwin + GOARCH: amd64 + commands: + - go get + - go test + +- name: test-windows-amd64 + image: golang + environment: + GOOS: windows + GOARCH: amd64 + commands: + - go get + - go test + +- name: test-linux-arm64 + image: golang + environment: + GOOS: linux + GOARCH: arm64 + commands: + - go get + - go test + +- name: test-darwin-arm64 + image: golang + environment: + GOOS: darwin + GOARCH: arm64 + commands: + - go get + - go test