-
Notifications
You must be signed in to change notification settings - Fork 56
48 lines (40 loc) · 1.1 KB
/
services-test-azfile.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 Azfile"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/azfile/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/azfile/**'
jobs:
services_test_azfile:
name: "Services Test Azfile"
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_AZFILE_CREDENTIAL: op://Engineering/Azfile/testing/credential
STORAGE_AZFILE_NAME: op://Engineering/Azfile/testing/name
STORAGE_AZFILE_ENDPOINT: op://Engineering/Azfile/testing/endpoint
- name: Checkout repository
uses: actions/checkout@v2
- name: Test
env:
STORAGE_AZFILE_INTEGRATION_TEST: on
working-directory: services/azfile
run: make integration_test