Skip to content

Commit 55c0956

Browse files
committed
Update test report handling in README and GitHub Actions workflow
- Modified README to reflect the new URL structure for the test report. - Added a step in the GitHub Actions workflow to rename the generated report.html to index.html for better accessibility.
1 parent 8f45d3c commit 55c0956

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ jobs:
5858
name: test-results
5959
path: test-results
6060

61+
- name: Rename report.html to index.html
62+
run: |
63+
if [ -f "test-results/report.html" ]; then
64+
mv test-results/report.html test-results/index.html
65+
fi
66+
6167
- name: Setup Pages
6268
uses: actions/configure-pages@v5
6369

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This project uses GitHub Actions to run tests on every push to the main branch a
4141
Test reports are automatically generated and published to GitHub Pages after successful runs on the main branch.
4242

4343
You can view the latest test report at:
44-
`https://{username}.github.io/{repository-name}/report.html`
44+
`https://{username}.github.io/{repository-name}/`
4545

4646
## Usage
4747

0 commit comments

Comments
 (0)