Skip to content

Commit 9b8331b

Browse files
committed
Attempting actions-based report summary
1 parent bee581c commit 9b8331b

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/testing.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
name: allure-output
5959
path: allure_output
6060
- name: Deploy report to GitHub Pages
61+
id: report
6162
uses: PavanMudigonda/html-reporter-github-pages@v1.5.21
6263
with:
6364
test_results: allure_output
@@ -66,3 +67,11 @@ jobs:
6667
gh_pages: pages_reports
6768
workflow_name: ${{ github.workflow }}
6869
use_actions_summary: true
70+
- name: Notify about generated report
71+
uses: LouisBrunner/checks-action@v1.1.1
72+
with:
73+
token: ${{ secrets.GITHUB_TOKEN }}
74+
name: PaperWM test reports
75+
conclusion: success
76+
output: |
77+
{ "summary": "${{ steps.report.outputs.summary }}", "details_url": "${{env.GITHUB_PAGES_WEBSITE_URL}}/${{ github.run_number }}/index.html" }

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ package-lock.json
1111

1212
# generated disk image for test VM
1313
nixos.qcow2
14+
15+
# generated test outputs
16+
allure_output/
17+
scr-*.png

tests/features/steps/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
@when("the machine starts")
44
def machine_boot(context):
5-
pass
65
# no-op: our test template starts the machine already
6+
pass
77

88
@then("the machine should reach graphics")
99
def graphical_target(context):

0 commit comments

Comments
 (0)