-
Notifications
You must be signed in to change notification settings - Fork 43
46 lines (41 loc) · 1009 Bytes
/
integration-testing.yml
File metadata and controls
46 lines (41 loc) · 1009 Bytes
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 Testing (PRs)
on:
workflow_call:
inputs:
branch:
description: Branch to run on
required: true
default: main
type: string
workflow_dispatch:
pull_request:
branches:
- main
jobs:
integration-k8s:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
env:
SHELL: /bin/bash
KUBECONFIG: '/home/runner/.kube/config'
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ inputs.branch || github.sha }}
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Setup cluster (k8s)
uses: palmsoftware/[email protected]
with:
waitForPodsReady: true
- name: Run integration tests
uses: nick-fields/retry@v4
with:
timeout_minutes: 90
max_attempts: 3
command: make integration-test