-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (44 loc) · 1005 Bytes
/
Copy pathtest.yml
File metadata and controls
50 lines (44 loc) · 1005 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Tests
on:
pull_request:
branches:
- main
- dev
push:
branches:
- main
- dev
jobs:
test-controller:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Running Tests
run: |
go mod tidy
helm dependency build helm/kubetasker
make golden-update
make test
test-frontend:
name: Run Frontend Tests on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Python dependencies
run: |
make pyenv
- name: Run Python tests
run: |
source .kubetasker_pyenv/bin/activate
pytest -vvrA