Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Allure reports to GH pages #2393

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open

Conversation

raits
Copy link
Contributor

@raits raits commented Oct 22, 2024

This PR adds support to generating Allure reports from results produced during the build, publishing them with history to GH pages and leaving the links as comments.

Unfortunately, it doesn't seem that extensions are currently supported by the action: https://github.com/simple-elf/allure-report-action.

Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

E2E Allure report: https://nordic-institute.github.io/X-Road/e2e/1097

Copy link

Copy link

@raits raits changed the title feat: add central server allure reports feat: add Allure reports to GH pages Oct 23, 2024
@raits raits requested a review from ricardas-buc October 23, 2024 10:50
@raits raits marked this pull request as ready for review October 23, 2024 10:50
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'E2E Allure report: https://nordic-institute.github.io/X-Road/e2e/${{ github.run_number }}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps opening in a new tab would be preferred?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on what I found searching the topic it seems that this is not possible in GitHub comments.

@ricardas-buc
Copy link
Contributor

There are few other places with allure reports, were those intentionally skipped or just missed?
image

Would it be possible to consolidate all links into a single comment with a table? Maybe persist links into action runtime and create comment as a final step?

Also just a note: by generating report instead of using report generated by gradle, we loose execution logs tab which is a customization to see logs during whole execution. Maybe zipping those logs and adding DL link to the same report table would suffice.

Copy link

github-actions bot commented Nov 4, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

@nordic-institute nordic-institute deleted a comment from github-actions bot Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 4, 2024

Allure reports for run #{{ github.run_number }}

Test suite Report URL
Central Server Report
Security Server Report
E2E Report

Copy link

github-actions bot commented Nov 4, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 4, 2024

Allure reports for run #1187

Test suite Report URL Artifacts
Central Server Report Artifacts
Security Server Report Artifacts
E2E Report Artifacts

Copy link

github-actions bot commented Nov 5, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 5, 2024

Allure reports for run #1194

Test suite Report URL Artifacts
Central Server Report Artifacts
Security Server Report Artifacts
E2E Report Artifacts

Copy link

github-actions bot commented Nov 6, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 6, 2024

Allure reports for run 1204

Test suite Report URL Artifacts
Central Server Report Artifacts
Security Server Report Artifacts
E2E Report Artifacts

Copy link

github-actions bot commented Nov 6, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 7, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 7, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 7, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 7, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 7, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 8, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 8, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

github-actions bot commented Nov 8, 2024

Allure reports for run 1242

Test suite Report URL Artifacts
Central Server Report N/A
Security Server Report Artifacts
E2E Report Artifacts

Copy link

github-actions bot commented Nov 8, 2024

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

Allure reports for run 1243

Test suite Report URL Artifacts
Central Server Report N/A
Security Server Report N/A
E2E Report N/A

Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Copy link

Allure reports for run 1251

Test suite Report URL Artifacts
Central Server Report N/A
Security Server Report Artifacts
E2E Report N/A

Copy link

sonarcloud bot commented Nov 11, 2024

Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
src
build sonar test intTest runProxyTest runMetaserviceTest ru…
8.10.2 Build Scan not published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants