forked from LMCache/LMCache
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (48 loc) · 1.24 KB
/
Copy pathoperator_test_e2e.yml
File metadata and controls
57 lines (48 loc) · 1.24 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
name: "Operator: E2E Tests"
on:
push:
branches:
- dev
- "release-**"
paths:
- 'operator/**'
- '.github/workflows/operator_test_e2e.yml'
pull_request:
branches:
- dev
- "release-**"
paths:
- 'operator/**'
- '.github/workflows/operator_test_e2e.yml'
permissions:
contents: read
defaults:
run:
shell: bash
working-directory: operator
jobs:
test-e2e:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: operator/go.mod
- name: Install the latest version of kind
run: |
curl -Lo ./kind "https://kind.sigs.k8s.io/dl/latest/kind-linux-$(go env GOARCH)"
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Verify kind installation
run: kind version
- name: Running Test e2e
run: |
go mod tidy
make test-e2e