0g-chain/.github/workflows/ci-default.yml
Robert Pirtle 34c5d1ecd5
add e2e tests to ci pipeline (#1476)
* add e2e tests to ci pipeline

* enable DOCKER_BUILDKIT
2023-02-22 16:13:11 -08:00

34 lines
811 B
YAML

name: Continuous Integration (Default Checks)
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo from current commit
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.18"
check-latest: true
cache: true
- name: build application
run: make build
test:
runs-on: ubuntu-latest
steps:
- name: checkout repo from current commit
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
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