-
Notifications
You must be signed in to change notification settings - Fork 125
63 lines (54 loc) · 1.37 KB
/
test.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
name: Test
on:
push:
branches:
- master
pull_request:
jobs:
integration:
name: "Integration - VPP ${{ matrix.version }}"
runs-on: ubuntu-latest
env:
VPP_VERSION: ${{ matrix.version }}
strategy:
fail-fast: false
matrix:
version: ['2306', '2210', '2202']
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Run tests"
run: |
make integration-tests
e2e:
name: "E2E - VPP ${{ matrix.version }}"
runs-on: ubuntu-latest
env:
VPP_VERSION: ${{ matrix.version }}
GOTESTSUM_JUNITFILE: /testreport/e2e.xml
strategy:
fail-fast: false
matrix:
version: ['2306', '2210', '2202']
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Dump Info"
run: |
env | sort
ls -Al /sys/module
- name: "Run Tests"
run: |
make e2e-tests
- name: "Publish Test Report"
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: './tests/e2e/e2etest/reports/*.xml'
- name: "Publish Test Artifacts"
uses: actions/upload-artifact@v3
if: ${{ failure() || runner.debug == '1' }}
with:
name: "VPP ${{ matrix.version }} RUN_ID ${{ github.run_id }}"
path: tests/e2e/e2etest/logs/