-
Notifications
You must be signed in to change notification settings - Fork 178
45 lines (36 loc) · 892 Bytes
/
libs_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
45
---
name: Libs tests
"on":
push:
branches: ['develop']
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Opentofu
uses: opentofu/[email protected]
with:
tofu_version: 1.6.0-alpha3
- name: Download Go
uses: actions/setup-go@v5
with:
go-version: 1.21.1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Deps
run: |
pwd
go get -v ./...
working-directory: libs
- name: Install Azurite
run: npm install -g azurite
- name: Start Azurite service
run: azurite --silent &
- name: Test
run: go test -v ./...
env:
DIGGER_LICENSE_KEY: ${{ secrets.TEST_DIGGER_LICENSE_KEY}}
working-directory: libs