Skip to content

Commit

Permalink
updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Dec 6, 2024
1 parent 2ef07e6 commit f5af651
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/create-test-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
steps:
- name: "Merge test files"
shell: bash
run: node tools/mergeTests.js
run: node tools/mergeTests.js ${{ inputs.electron }}

- name: Read mochawesome.json
uses: actions/github-script@v7
Expand Down Expand Up @@ -47,6 +47,7 @@ runs:
path: |
test/mochawesome-report/mochawesome.json
test/mochawesome-report/mochawesome.html
test/mochawesome-report/assets/
- name: Create test report
uses: phoenix-actions/test-reporting@v15
Expand Down
4 changes: 3 additions & 1 deletion tools/mergeTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const options = {

const margeOptions = {
reportFilename: 'mochawesome.html',
reportDir: './test/mochawesome-report'
reportDir: './test/mochawesome-report',
overwrite: true,
reportTitle: `electron-edge-js Electron ${process.argv[2]}`
}

merge.merge(options).then(report => {
Expand Down

0 comments on commit f5af651

Please sign in to comment.