-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (38 loc) · 1.03 KB
/
test.yaml
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
name: test
on:
pull_request:
branches:
- master
jobs:
apicast-test:
runs-on: ubuntu-latest
env:
BUILD_INFO: local
steps:
- uses: actions/checkout@v2
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build image
run: cd apicast && make build
- name: Test
run: cd apicast && make test && make prove
mapping-service-test:
runs-on: ubuntu-latest
env:
BUILD_INFO: local
steps:
- uses: actions/checkout@v2
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build image
run: cd mapping-service && make build
- name: Test
run: cd mapping-service && make busted && make test && make prove