-
Notifications
You must be signed in to change notification settings - Fork 25
42 lines (32 loc) · 1023 Bytes
/
tests.yml
File metadata and controls
42 lines (32 loc) · 1023 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
name: ci test
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- name: Install Python 3.8
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8
- name: Update apt repositories
run: sudo apt update
- name: Upgrade python packaging tools
run: python -m pip install --upgrade pip setuptools wheel
- name: Compile
run: make
- name: Run unit tests
run: make test
- name: Setup dependencies
run: cd test && make setup-venv && make setup-splunk
- name: Run functional tests partial log
run: cd test && make test-partial
- name: Run functional tests config params
run: cd test && make test-config
- name: Run functional tests malformed data
run: cd test && make test-malformed