|
13 | 13 | integration-test: |
14 | 14 | runs-on: ubuntu-latest |
15 | 15 | timeout-minutes: 60 |
| 16 | + strategy: |
| 17 | + fail-fast: false # Continue testing other profiles even if one fails |
| 18 | + matrix: |
| 19 | + profile: [ai-gateway, aibrix] |
16 | 20 |
|
17 | 21 | steps: |
18 | 22 | - name: Check out the repo |
@@ -61,11 +65,11 @@ jobs: |
61 | 65 | run: | |
62 | 66 | make build-e2e |
63 | 67 |
|
64 | | - - name: Run Integration E2E tests |
| 68 | + - name: Run Integration E2E tests (${{ matrix.profile }}) |
65 | 69 | id: e2e-test |
66 | 70 | run: | |
67 | 71 | set +e # Don't exit on error, we want to capture the result |
68 | | - make e2e-test E2E_PROFILE=ai-gateway E2E_VERBOSE=true E2E_KEEP_CLUSTER=false |
| 72 | + make e2e-test E2E_PROFILE=${{ matrix.profile }} E2E_VERBOSE=true E2E_KEEP_CLUSTER=false |
69 | 73 | TEST_EXIT_CODE=$? |
70 | 74 | echo "test_exit_code=${TEST_EXIT_CODE}" >> $GITHUB_OUTPUT |
71 | 75 | exit ${TEST_EXIT_CODE} |
|
74 | 78 | if: always() |
75 | 79 | uses: actions/upload-artifact@v4 |
76 | 80 | with: |
77 | | - name: test-reports |
| 81 | + name: test-reports-${{ matrix.profile }} |
78 | 82 | path: | |
79 | 83 | test-report.json |
80 | 84 | test-report.md |
@@ -123,25 +127,26 @@ jobs: |
123 | 127 | fi |
124 | 128 |
|
125 | 129 | # Add additional context |
126 | | - cat >> $GITHUB_STEP_SUMMARY << 'EOF' |
| 130 | + cat >> $GITHUB_STEP_SUMMARY << EOF |
127 | 131 |
|
128 | 132 | --- |
129 | 133 |
|
130 | 134 | ### 📚 Additional Resources |
131 | 135 |
|
| 136 | + - **Profile:** \`${{ matrix.profile }}\` |
132 | 137 | - **Trigger:** ${{ github.event_name }} |
133 | | - - **Branch:** `${{ github.ref_name }}` |
134 | | - - **Commit:** `${{ github.sha }}` |
| 138 | + - **Branch:** \`${{ github.ref_name }}\` |
| 139 | + - **Commit:** \`${{ github.sha }}\` |
135 | 140 | - **Workflow Run:** [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) |
136 | 141 | - [E2E Test Framework Documentation](https://github.com/${{ github.repository }}/tree/main/e2e) |
137 | | - - [AI Gateway Profile](https://github.com/${{ github.repository }}/tree/main/e2e/profiles/ai-gateway) |
| 142 | + - [${{ matrix.profile }} Profile](https://github.com/${{ github.repository }}/tree/main/e2e/profiles/${{ matrix.profile }}) |
138 | 143 |
|
139 | 144 | ### 📦 Artifacts |
140 | 145 |
|
141 | 146 | - **test-report.json** - Detailed test results in JSON format |
142 | 147 | - **test-report.md** - Human-readable test report |
143 | 148 | - **semantic-router-logs.txt** - Complete semantic-router pod logs |
144 | | - - All artifacts are retained for 30 days |
| 149 | + - All artifacts are retained for 30 days as \`test-reports-${{ matrix.profile }}\` |
145 | 150 | EOF |
146 | 151 | else |
147 | 152 | echo "⚠️ Test report file not found!" >> $GITHUB_STEP_SUMMARY |
|
0 commit comments