blob: c44d0bca0e61e3d4bded7e32ac5c23c100679d44 [file] [log] [blame]
name: Backend CLI Test
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
jobs:
run-test:
runs-on: ubuntu-latest
services:
etcd:
image: bitnami/etcd:3.4.13
ports:
- 2379:2379
- 2380:2380
env:
ALLOW_NONE_AUTHENTICATION: yes
steps:
- uses: actions/checkout@v2
- name: download etcd
working-directory: ./api
run: |
wget https://github.com/etcd-io/etcd/releases/download/v3.4.14/etcd-v3.4.14-linux-amd64.tar.gz
tar zxvf etcd-v3.4.14-linux-amd64.tar.gz
- name: run test
working-directory: ./api
run: sudo ./test/shell/cli_test.sh