-
Notifications
You must be signed in to change notification settings - Fork 0
94 lines (80 loc) · 2.07 KB
/
Copy pathtest.yml
File metadata and controls
94 lines (80 loc) · 2.07 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Test
on:
pull_request:
branches:
- develop
workflow_dispatch:
permissions:
contents: read
concurrency:
group: test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
unit:
name: Unit Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- macos-14
- macos-15-intel
- ubuntu-24.04
- windows-2022
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- name: Unit Tests
run: go test ./...
- name: External SDK Consumer
working-directory: testsuite/sdk-consumer
run: go test ./...
- name: Vet Public Packages And CLI
run: go vet ./...
- name: Verify Exported API Inventory
run: go run ./tools/api_inventory -check API.md
- name: Broker Protocol Fixtures
run: node broker/test_support/signing_fixture_test.js
local-broker-integration:
name: Local Broker Integration (${{ matrix.runtime }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- macos-14
- macos-15-intel
- ubuntu-24.04
- windows-2022
runtime:
- gcp
- aws
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 25
package-manager-cache: false
- name: Local Broker Integration
shell: bash
run: ./testsuite/run-local-broker.sh "${{ matrix.runtime }}"