-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (39 loc) · 1.07 KB
/
integration.yaml
File metadata and controls
46 lines (39 loc) · 1.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
name: integration
on:
push:
branches:
- main
pull_request:
permissions:
actions: none
checks: none
contents: read
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
# Cancel in-progress runs for pull requests when developers push
# additional changes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: "~1.22"
- name: Create KinD cluster
uses: helm/kind-action@ca7011b09d9a57d57555716e97a4acea579a2b92 # v1
with:
cluster_name: integration-test
- name: Run integration tests
run: go test -tags=integration -v -timeout=8m ./...