Skip to content

Commit 914791d

Browse files
committed
Attempting actions-based report summary
1 parent bee581c commit 914791d

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/testing.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
if: always()
4848
runs-on: ubuntu-latest
4949
permissions:
50+
checks: write
5051
contents: write
5152
pages: write
5253
steps:
@@ -58,6 +59,7 @@ jobs:
5859
name: allure-output
5960
path: allure_output
6061
- name: Deploy report to GitHub Pages
62+
id: report
6163
uses: PavanMudigonda/html-reporter-github-pages@v1.5.21
6264
with:
6365
test_results: allure_output
@@ -66,3 +68,11 @@ jobs:
6668
gh_pages: pages_reports
6769
workflow_name: ${{ github.workflow }}
6870
use_actions_summary: true
71+
- name: Notify about generated report
72+
uses: LouisBrunner/checks-action@v1.1.1
73+
with:
74+
token: ${{ secrets.GITHUB_TOKEN }}
75+
name: PaperWM test reports
76+
conclusion: success
77+
output: |
78+
{ "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)