-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ env: | |
jobs: | ||
build-test: | ||
runs-on: ${{ matrix.os }} | ||
name: build-test-${{ matrix.os }}-electron-${{ matrix.electron }} | ||
name: build-test-${{ matrix.os }}-${{ matrix.electron }} | ||
strategy: | ||
matrix: | ||
# os: [macos-14, macos-latest, ubuntu-latest, windows-2019] | ||
|
@@ -123,29 +123,25 @@ jobs: | |
env: | ||
EDGE_USE_CORECLR: 1 | ||
|
||
- if: steps.check_build.outputs.files_exists == 'true' || runner.os == 'Windows' | ||
name: "Merge test files" | ||
run: node tools/mergeTests.js | ||
|
||
- name: Upload artifacts | ||
uses: actions/[email protected] | ||
if: success() | ||
if: success() && (steps.check_build.outputs.files_exists == 'true' || runner.os == 'Windows') | ||
with: | ||
name: ${{ matrix.os }}-${{ matrix.electron }} | ||
path: | | ||
test/mochawesome-report/test-results-coreclr.json | ||
test/mochawesome-report/test-results-coreclr.html | ||
# - name: Upload artifacts | ||
# uses: actions/[email protected] | ||
# if: success() | ||
# with: | ||
# name: ${{ matrix.os }}-${{ matrix.node }} | ||
# path: | | ||
# test-results.xml | ||
# mochawesome.json | ||
# - name: Test Report | ||
# uses: phoenix-actions/test-reporting@v15 | ||
# if: success() | ||
# with: | ||
# name: test-results-${{ matrix.os }}-node-${{ matrix.node }} | ||
# fail-on-error: true | ||
# path: mochawesome.json # Path to test results | ||
# reporter: mochawesome-json | ||
test/mochawesome-report/mochawesome.json | ||
test/mochawesome-report/mochawesome.html | ||
- name: Test Report | ||
uses: phoenix-actions/test-reporting@v15 | ||
if: success() && (steps.check_build.outputs.files_exists == 'true' || runner.os == 'Windows') | ||
with: | ||
name: test-results-${{ matrix.os }}-${{ matrix.electron }} | ||
fail-on-error: true | ||
path: test/mochawesome-report/mochawesome.json # Path to test results | ||
reporter: mochawesome-json | ||
|