blob: 79a377fa210042dd1716fd6bbaf8fbf32b9264e4 [file] [log] [blame]
# Test make build command to see if ManagerAPI and Web are ok to build
name: make build
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
make-build-test:
name: make build test
runs-on: ubuntu-latest
services:
etcd:
image: bitnami/etcd:3.4.13
ports:
- 2379:2379
- 2380:2380
env:
ALLOW_NONE_AUTHENTICATION: yes
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Node.js environment
uses: actions/setup-node@v2.3.0
with:
node-version: 14.x
- name: Setup golang environment
uses: actions/setup-go@v2.1.3
with:
go-version: '1.13'
- name: make build
run: make build
- name: start dashboard
working-directory: ./output
run: |
./manager-api > ./api.log 2>&1 &
sleep 5
- name: check
run: api/test/shell/manager_smoking.sh -s true