From 34c5d1ecd5f0ceb93af84cac9965c8b5437ae239 Mon Sep 17 00:00:00 2001 From: Robert Pirtle Date: Wed, 22 Feb 2023 16:13:11 -0800 Subject: [PATCH] add e2e tests to ci pipeline (#1476) * add e2e tests to ci pipeline * enable DOCKER_BUILDKIT --- .github/workflows/ci-default.yml | 6 ++++-- Makefile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-default.yml b/.github/workflows/ci-default.yml index 3aa9ea76..016677b0 100644 --- a/.github/workflows/ci-default.yml +++ b/.github/workflows/ci-default.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: "1.18" check-latest: true cache: true - name: build application @@ -24,8 +24,10 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: "1.18" check-latest: true cache: true - name: run unit tests run: make test + - name: run e2e tests + run: make docker-build test-e2e diff --git a/Makefile b/Makefile index b29538d7..bd369d6e 100644 --- a/Makefile +++ b/Makefile @@ -240,7 +240,7 @@ format: # Build docker image and tag as kava/kava:local docker-build: - $(DOCKER) build -t kava/kava:local . + DOCKER_BUILDKIT=1 $(DOCKER) build -t kava/kava:local . build-docker-local-kava: @$(MAKE) -C networks/local