Skip to content

Commit

Permalink
Trying an update (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jul 18, 2024
1 parent 94bd705 commit 93d75f9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# This configuration is loosely based on documentation here:
# https://github.com/stateful/vscode-awesome-ux/blob/main/docs/TestingExtensions.md#run-tests-in-cicd
name: End-to-end Tests
on:
push:
Expand Down Expand Up @@ -36,11 +34,6 @@ jobs:
name: e2e-reports
path: e2e/reports/
retention-days: 1
# - name: Publish Summary as PR Comment
# uses: thollander/actions-comment-pull-request@v2
# with:
# filePath: e2e/reports/e2e-summary.html
# comment_tag: summary
- name: 'Comment on PR'
uses: actions/github-script@v7
with:
Expand All @@ -54,7 +47,7 @@ jobs:
repo: context.repo.repo,
issue_number: prNumber,
})
console.log('Result:', comments);
const marker = '<!-- DH GH Action Comment -->';
const summaryContent = String(fs.readFileSync('e2e/reports/e2e-summary.html'));
const contentWithMarker = `${marker}\n${summaryContent}`;
Expand Down

0 comments on commit 93d75f9

Please sign in to comment.