-
Notifications
You must be signed in to change notification settings - Fork 30
50 lines (44 loc) · 1.03 KB
/
test-gh.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: test-gh
"on":
push:
branches:
- develop
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
types: [opened, reopened, synchronize]
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
test-all:
name: Test GH
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.22.2
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Carvel Tools
uses: carvel-dev/setup-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
only: ytt, kapp, kbld
ytt: v0.45.4
kapp: v0.58.0
kbld: v0.37.5
- name: Run Tests
run: |
set -e -x
mkdir /tmp/bin
export PATH=/tmp/bin:$PATH
./hack/verify-no-dirty-files.sh
minikube start --driver=docker
eval $(minikube docker-env --shell=bash)
export SECRETGEN_E2E_NAMESPACE=secretgen-test
./hack/test-all.sh