forked from zarf-dev/zarf
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 966 Bytes
/
test-k3d.yml
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
name: e2e-k3d
on:
- pull_request
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: "Install GoLang"
uses: actions/setup-go@v2
with:
go-version: 1.18.x
- name: "Checkout Repo"
uses: actions/checkout@v2
- name: "Setup caching"
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: "Build CLI"
run: make build-cli-linux
- name: "Make Packages"
run: make init-package package-example-game package-example-data-injection package-example-gitops-data package-example-compose
- name: "Run Tests"
# NOTE: This test run will create its own K3d cluster. A single cluster will be used throughout the test run.
run: TESTDISTRO=k3d make test-e2e