-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (30 loc) · 926 Bytes
/
sentry-kube-ci.yml
File metadata and controls
35 lines (30 loc) · 926 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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
tests:
name: "Run tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2
with:
python-version: 3.11
- name: Make environment
run: |
make install-all-dependencies
- name: Set up Go
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2
with:
go-version: "1.22"
- name: Install kube-linter
# Needed for the kube-linter integration tests.
# It this starts taking too long we can xfail those tests and isolate
# the logic more.
run: go install golang.stackrox.io/kube-linter/cmd/kube-linter@v0.7.3
- name: Run sentry-kube tests
run: |
make tools-test