-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (50 loc) · 1.11 KB
/
test.yaml
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
---
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: source
- name: Checkout catlin
uses: actions/checkout@v2
with:
repository: tektoncd/plumbing
path: catlin
- name: Install go
uses: actions/setup-go@v2
with:
go-version: 1.14
- name: Install catlin
run: |
cd catlin/catlin/cmd/catlin/
go get github.com/tektoncd/plumbing/catlin/cmd/catlin
- name: Lint
run: |
cd source
make lint
test-kind:
name: Kind
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: engineerd/[email protected]
with:
version: "v0.11.1"
image: "kindest/node:v1.21.1"
skipClusterCreation: true
- name: Install dependencies
run: |
python3 -m pip install --ignore-installed PyYAML
- name: Run Test
run: make test-kind