mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
add e2e tests to ci pipeline (#1476)
* add e2e tests to ci pipeline * enable DOCKER_BUILDKIT
This commit is contained in:
parent
ff5b0e814e
commit
34c5d1ecd5
6
.github/workflows/ci-default.yml
vendored
6
.github/workflows/ci-default.yml
vendored
@ -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
|
||||||
|
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user