-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 927 Bytes
/
tests.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
name: Kitescratch Tests
on: [push]
env:
NO_INTERACTION: "true"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v4
with:
go-version-file: cmd/kitehelper/go.mod
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install pydantic requests # Some tests require this
- name: Tests
run: |
cd cmd/kitehelper
go build -v
./kitehelper test
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Kitescratch: CI Task"
commit_user_name: "Kitescratch Tests[bot]"