-
Notifications
You must be signed in to change notification settings - Fork 55
48 lines (40 loc) · 1.07 KB
/
services-test-kodo.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
name: "Services Test Kodo"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/kodo/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/kodo/**'
jobs:
services_test_kodo:
name: "Services Test Kodo"
runs-on: self-hosted
strategy:
matrix:
go: [ "1.16", "1.17" ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Load secret
uses: 1password/load-secrets-action@v1
env:
STORAGE_KODO_CREDENTIAL: op://Engineering/Kodo/testing/credential
STORAGE_KODO_NAME: op://Engineering/Kodo/testing/name
STORAGE_KODO_ENDPOINT: op://Engineering/Kodo/testing/endpoint
- name: Checkout repository
uses: actions/checkout@v2
- name: Test
env:
STORAGE_BOS_INTEGRATION_TEST: on
working-directory: services/kodo
run: make integration_test