Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/actions/archive-artifacts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ runs:
# Archive test reports to artifacts
set -exu
mkdir -p /tmp/artifacts/data/${STAGE}/reports
cp -r ${{ inputs.junit-paths }} /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || echo "No reports found"
cp -r ${{ inputs.junit-paths }} /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || echo "No reports found"
cp "$(dirname "${{ inputs.junit-paths }}")/report.html" /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || true
cp "$(dirname "${{ inputs.junit-paths }}")/report.ndjson" /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || true
cp "$(dirname "${{ inputs.junit-paths }}")/ctst-dashboard.html" /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || true
env:
STAGE: ${{ inputs.stage }}
if: always()
Expand Down Expand Up @@ -260,3 +263,13 @@ runs:
password: ${{ inputs.password }}
source: /tmp/artifacts
if: always()
- name: Add dashboard link to job summary
shell: bash
run: |
BASE="${{ steps.setup-artifacts.outputs.link }}/data/${{ inputs.stage }}/reports"
echo "Cucumber custom dashboard: ${BASE}/ctst-dashboard.html"
echo "Cucumber official report: ${BASE}/report.html"
echo "### Test Reports" >> $GITHUB_STEP_SUMMARY
echo "- [Cucumber custom dashboard](${BASE}/ctst-dashboard.html)" >> $GITHUB_STEP_SUMMARY
echo "- [Cucumber official report](${BASE}/report.html)" >> $GITHUB_STEP_SUMMARY
if: always() && inputs.junit-paths != format('{0}/_reports/*.xml', github.workspace)
3 changes: 2 additions & 1 deletion .github/scripts/end2end/run-e2e-ctst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ yarn cucumber-js \
--retry-tag-filter @Flaky \
--format pretty \
--format html:ctst/reports/report.html \
--format junit:ctst/reports/report.xml
--format junit:ctst/reports/report.xml \
--format message:ctst/reports/report.ndjson
Comment thread
SylvainSenechal marked this conversation as resolved.
3 changes: 2 additions & 1 deletion tests/functional/ctst/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
*.log
reports/
reports/*
!reports/ctst-dashboard.html
sorbetctl
zenko-drctl
Loading
Loading