Skip to content

Commit 452fcfd

Browse files
doc: GitHub upload action (#1439)
1 parent 85efd36 commit 452fcfd

4 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Uploading Reports
2+
3+
WebTau generates [HTML Reports](report/introduction).
4+
To make reports accessible after your build run, use this step:
5+
6+
:include-file: .github/workflows/ci-build.yaml {
7+
title: "step to upload all reports",
8+
startLine: "Upload all reports",
9+
endLine: "retention-days",
10+
replace: ["\\*webtau-", "webtau."]
11+
}
12+
13+
To only upload failed reports, configure [failed report name](report/configuration#failed-report-path) and update the step:
14+
15+
:include-file: .github/workflows/ci-build.yaml {
16+
title: "step to upload only failed test reports",
17+
startLine: "Upload failed test reports",
18+
endLine: "retention-days"
19+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Doc: [GitHub CI](continuous-integration/GitHub) reports upload

webtau-docs/znai/report/introduction.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Out of the box report provides high level information like number of failed test
88

99
:include-image: doc-artifacts/reports/report-summary.png {fit: true}
1010

11+
# Continuous Integration
12+
13+
Example of [GitHub](continuous-integration/GitHub) actions to upload reports during `CI`
14+
1115
# Test Summary
1216

1317
Selected a test to see summary information about the test run

webtau-docs/znai/toc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ junit5 {title: "JUnit 5"}
113113
JVM-business-logic
114114
data-driven
115115
documentation-artifacts
116+
continuous-integration
117+
GitHub
116118
reference
117119
table-data
118120
release-notes

0 commit comments

Comments
 (0)