summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnjan Nath <kaludios@gmail.com>2022-06-11 04:36:48 +0530
committeratanarjuat <atanarjuat@example.com>2022-07-28 02:04:25 -0400
commitee1bb60aeb63618531ed81a5125b96a498d7f9e7 (patch)
tree013434533628f5e5b7f1a89d337af16bac6404ff
parent32f4b22dd1dc01c9f7d3948c058955eadbd65e5c (diff)
add integration-test job to gitlab ci
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09f3d72..3e238e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@
stages:
- test
- validate
+ - integration-test
test:
image: golang:alpine
@@ -37,3 +38,14 @@ validate:
gosec ./...
make check-yawning-obfs4
+ go mod tidy
+ git diff --exit-code -- go.mod go.sum
+
+integration-test:
+ image: debian
+ stage: test
+ script:
+ - apt update -y && apt install docker docker.io
+ - make integration
+ tags:
+ - linux