-
Notifications
You must be signed in to change notification settings - Fork 98
44 lines (42 loc) · 1004 Bytes
/
edge-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
name: Edge tests
on:
push:
branches:
- master
jobs:
aws-edge-test:
name: Test AWS edge
runs-on: [self-hosted]
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.3
check-latest: true
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Test
env:
GO111MODULE: on
GOPROXY: "https://proxy.golang.org,direct"
run: |
go test ./edge -v -aws.config=/etc/kes/config-aws.yml -run="TestAWS"
azure-edge-test:
name: Test Azure edge
runs-on: [self-hosted]
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.3
check-latest: true
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Test
env:
GO111MODULE: on
GOPROXY: "https://proxy.golang.org,direct"
run: |
go test ./edge -v -azure.config=/etc/kes/config-azure.yml -run="TestAzure"