go.ligato.io/vpp-agent/v3@v3.5.0/.github/workflows/test.yml (about) 1 --- 2 name: Test 3 on: 4 push: 5 branches: 6 - master 7 pull_request: 8 9 jobs: 10 integration: 11 name: "Integration - VPP ${{ matrix.version }}" 12 runs-on: ubuntu-latest 13 env: 14 VPP_VERSION: ${{ matrix.version }} 15 strategy: 16 fail-fast: false 17 matrix: 18 version: ['2210', '2202', '2106', '2101'] 19 20 steps: 21 - name: "Checkout" 22 uses: actions/checkout@v3 23 24 - name: "Run tests" 25 run: | 26 make integration-tests 27 28 e2e: 29 name: "E2E - VPP ${{ matrix.version }}" 30 runs-on: ubuntu-latest 31 env: 32 VPP_VERSION: ${{ matrix.version }} 33 GOTESTSUM_JUNITFILE: /testreport/e2e.xml 34 strategy: 35 fail-fast: false 36 matrix: 37 version: ['2210', '2202', '2106', '2101'] 38 39 steps: 40 - name: "Checkout" 41 uses: actions/checkout@v3 42 43 - name: "Dump Info" 44 run: | 45 env | sort 46 ls -Al /sys/module 47 48 - name: "Run Tests" 49 run: | 50 make e2e-tests 51 52 - name: "Publish Test Report" 53 uses: mikepenz/action-junit-report@v3 54 if: always() 55 with: 56 report_paths: './tests/e2e/e2etest/reports/*.xml' 57 58 - name: "Publish Test Artifacts" 59 uses: actions/upload-artifact@v3 60 if: ${{ failure() || runner.debug == '1' }} 61 with: 62 name: "VPP ${{ matrix.version }} RUN_ID ${{ github.run_id }}" 63 path: tests/e2e/e2etest/logs/