-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (30 loc) · 884 Bytes
/
Copy pathintegration-test.yml
File metadata and controls
36 lines (30 loc) · 884 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
name: Integration Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Clone Loghub-2.0 dataset
run: git clone --depth 1 https://github.com/logpai/Loghub-2.0.git /tmp/Loghub-2.0
- name: Run integration tests
env:
LOGHUB_PATH: /tmp/Loghub-2.0/2k_dataset
TEMPLATE_OUTPUT_DIR: /tmp/lapp-templates
run: go test -v -timeout 15m ./integration_test/
- name: Upload discovered templates
if: always()
uses: actions/upload-artifact@v4
with:
name: discovered-templates
path: /tmp/lapp-templates/
retention-days: 14