-
Notifications
You must be signed in to change notification settings - Fork 127
55 lines (53 loc) · 1.23 KB
/
acceptance-tests.yaml
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
49
50
51
52
53
54
55
name: Acceptance Tests
on:
pull_request:
merge_group:
jobs:
tests:
strategy:
fail-fast: false
matrix:
products:
- Account
- AppleSilicon
- Baremetal
- Cockpit
- Container
- Domain
- DocumentDB
- Function
- Iam
- Instance
- Iot
- IPAM
- K8S
- Lb
- Marketplace
- MNQ
- Object
- Rdb
- Redis
- Registry
- Secret
- Tem
- VPC
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Checkout
uses: actions/checkout@v3
- name: Run Acceptance Tests
run: go test -v ./... -timeout=2h -run "TestAccScaleway(DataSource)?${{ matrix.products }}.*"
env:
TF_LOG: DEBUG
TF_ACC: 1
TF_UPDATE_CASSETTES: false
TF_TEST_DOMAIN: scaleway-terraform.com
TF_TEST_DOMAIN_ZONE: tf
SCW_DEBUG: 0
SCW_ACCESS_KEY: "SCWXXXXXXXXXXXXXFAKE"
SCW_SECRET_KEY: "11111111-1111-1111-1111-111111111111"
SCW_ENABLE_BETA: true