forked from beyondstorage/go-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.06 KB
/
services-test-bos.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 Bos"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/bos/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/bos/**'
jobs:
services_test_bos:
name: "Services Test Bos"
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_BOS_CREDENTIAL: op://Engineering/Bos/testing/credential
STORAGE_BOS_NAME: op://Engineering/Bos/testing/name
STORAGE_BOS_ENDPOINT: op://Engineering/Bos/testing/endpoint
- name: Checkout repository
uses: actions/checkout@v2
- name: Test
env:
STORAGE_BOS_INTEGRATION_TEST: on
working-directory: services/bos
run: make integration_test