add e2e tests to ci pipeline (#1476)

* add e2e tests to ci pipeline

* enable DOCKER_BUILDKIT
This commit is contained in:
Robert Pirtle 2023-02-22 16:13:11 -08:00 committed by GitHub
parent ff5b0e814e
commit 34c5d1ecd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '1.18' go-version: "1.18"
check-latest: true check-latest: true
cache: true cache: true
- name: build application - name: build application
@ -24,8 +24,10 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '1.18' go-version: "1.18"
check-latest: true check-latest: true
cache: true cache: true
- name: run unit tests - name: run unit tests
run: make test run: make test
- name: run e2e tests
run: make docker-build test-e2e

View File

@ -240,7 +240,7 @@ format:
# Build docker image and tag as kava/kava:local # Build docker image and tag as kava/kava:local
docker-build: docker-build:
$(DOCKER) build -t kava/kava:local . DOCKER_BUILDKIT=1 $(DOCKER) build -t kava/kava:local .
build-docker-local-kava: build-docker-local-kava:
@$(MAKE) -C networks/local @$(MAKE) -C networks/local