@@ -17,6 +17,20 @@ permissions:
1717jobs :
1818 e2e :
1919 runs-on : ubuntu-latest
20+ strategy :
21+ matrix :
22+ test-suite :
23+ - name : " workflow-dispatch"
24+ option : " --workflow-dispatch-only"
25+ description : " Direct workflow triggers"
26+ - name : " issue-triggered"
27+ option : " --issue-triggered-only"
28+ description : " Tests via issue creation"
29+ - name : " command-triggered"
30+ option : " --command-triggered-only"
31+ description : " Tests via comments"
32+ fail-fast : false
33+ name : " E2E Tests: ${{ matrix.test-suite.description }}"
2034 steps :
2135 - name : Checkout
2236 uses : actions/checkout@v4
@@ -39,16 +53,16 @@ jobs:
3953
4054 # Run the e2e script, tee output to both stdout and log, capture exit code
4155 set +e
42- ./e2e.sh 2>&1 | tee e2e-output.log
56+ ./e2e.sh ${{ matrix.test-suite.option }} 2>&1 | tee e2e-output.log
4357 rc=${PIPESTATUS[0]}
4458 set -e
4559
46- echo "\n## E2E test run output" >> "$GITHUB_STEP_SUMMARY"
60+ echo "\n## E2E test run output (${{ matrix.test-suite.description }}) " >> "$GITHUB_STEP_SUMMARY"
4761 echo '``````bash' >> "$GITHUB_STEP_SUMMARY"
4862 sed -n '1,50000p' e2e-output.log >> "$GITHUB_STEP_SUMMARY" || true
4963 echo '``````' >> "$GITHUB_STEP_SUMMARY"
5064
51- echo "Detailed log attached as artifact: e2e-output.log"
65+ echo "Detailed log attached as artifact: e2e-output-${{ matrix.test-suite.name }} .log"
5266
5367 # Fail the job if the script exited non-zero so GH shows failure status
5468 if [[ $rc -ne 0 ]]; then
5973 if : always()
6074 uses : actions/upload-artifact@v4
6175 with :
62- name : e2e-output-log
76+ name : e2e-output-${{ matrix.test-suite.name }}- log
6377 path : e2e-output.log
0 commit comments