Skip to content

Commit

Permalink
feat: add artifacts url check to SS and E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raits committed Nov 8, 2024
1 parent b8dc8a9 commit 94dcc3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ jobs:
with:
script: |
const csArtifactsUrl = `${{ needs.RunCSSystemTests.outputs.cs-artifacts-url }}`;
const ssArtifactsUrl = `${{ needs.RunSSSystemTests.outputs.cs-artifacts-url }}`;
const e2eArtifactsUrl = `${{ needs.RunE2ETests.outputs.cs-artifacts-url }}`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
Expand All @@ -400,7 +402,7 @@ jobs:
| Test suite | Report URL | Artifacts |
|-----------------|------------|-----------|
| Central Server | <a href="https://nordic-institute.github.io/X-Road/central-server/ui-system-test/${{ github.run_number }}" target="_blank">Report</a> | ${csArtifactsUrl !== '' ? '<a href="${{ needs.RunCSSystemTests.outputs.cs-artifacts-url }}" target="_blank">Artifacts</a>' : 'N/A'} |
| Security Server | <a href="https://nordic-institute.github.io/X-Road/security-server/system-test/${{ github.run_number }}" target="_blank">Report</a> | <a href="${{ needs.RunSSSystemTests.outputs.ss-artifacts-url }}" target="_blank">Artifacts</a> |
| E2E | <a href="https://nordic-institute.github.io/X-Road/e2e/${{ github.run_number }}" target="_blank">Report</a> | <a href="${{ needs.RunE2ETests.outputs.e2e-artifacts-url }}" target="_blank">Artifacts</a> |
| Security Server | <a href="https://nordic-institute.github.io/X-Road/security-server/system-test/${{ github.run_number }}" target="_blank">Report</a> | ${ssArtifactsUrl !== '' ? '<a href="${{ needs.RunSSSystemTests.outputs.ss-artifacts-url }}" target="_blank">Artifacts</a>' : 'N/A'} |
| E2E | <a href="https://nordic-institute.github.io/X-Road/e2e/${{ github.run_number }}" target="_blank">Report</a> | ${e2eArtifactsUrl !== '' ? '<a href="${{ needs.RunE2ETests.outputs.e2e-artifacts-url }}" target="_blank">Artifacts</a>' : 'N/A'} |
`
})

0 comments on commit 94dcc3c

Please sign in to comment.