Skip to content

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.

@github-actions
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

@github-actions
Copy link

@github-actions
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

@github-actions
Copy link

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

@github-actions
Copy link

@github-actions
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.

@github-actions
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
@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@github-actions
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

@sonarqubecloud
Copy link

@github-actions
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