forked from flipt-io/flipt
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 985 Bytes
/
integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Integration Tests
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '*.md'
- '.all-contributorsrc'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '*.md'
- '.all-contributorsrc'
jobs:
## Integration Tests
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.13.4
id: go
- name: Checkout
uses: actions/checkout@v1
- name: Restore Cache
uses: actions/cache@preview
id: cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Build binary
run: go build -o ./bin/flipt ./cmd/flipt/.
- name: Test CLI
uses: ./.github/actions/api-test
with:
args: ./script/test/cli
- name: Test API
uses: ./.github/actions/api-test
with:
args: ./script/test/api