Skip to content

Commit

Permalink
updating GitHub pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Sep 17, 2024
1 parent 75cc7f6 commit 417ebb5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
8 changes: 6 additions & 2 deletions .github/actions/create-test-report/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: 'Test report'
description: 'Create test report'
inputs:
name:
description: 'name'
required: false
default: 'test-results'
electron:
description: 'Electron version'
required: true
Expand All @@ -19,7 +23,7 @@ runs:
uses: actions/upload-artifact@v4
if: success()
with:
name: ${{ inputs.os }}-${{ inputs.electron }}
name: ${{ inputs.name }}-${{ inputs.os }}-${{ inputs.electron }}
path: |
test/mochawesome-report/mochawesome.json
test/mochawesome-report/mochawesome.html
Expand All @@ -28,7 +32,7 @@ runs:
uses: phoenix-actions/test-reporting@v15
if: success()
with:
name: test-results-${{ inputs.os }}-v${{ inputs.electron }}
name: ${{ inputs.name }}-${{ inputs.os }}-v${{ inputs.electron }}
fail-on-error: true
path: test/mochawesome-report/mochawesome.json # Path to test results
reporter: mochawesome-json
3 changes: 1 addition & 2 deletions .github/actions/test-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ runs:
shell: bash
run: node tools/test.js CI

- if: runner.os == 'Windows'
- name: "Run .net core tests Windows"
shell: bash
name: "Run .net core tests Windows"
run: node tools/test.js CI
env:
EDGE_USE_CORECLR: 1
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,6 @@ jobs:
with:
electron: ${{ matrix.electron }}
os: ${{ matrix.os }}
name: 'build-tests'


7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
matrix:
os: [macos-13, macos-14, ubuntu-22.04, windows-2022]
# os: [ windows-2022, ubuntu-22.04]
electron: [29.4.6, 30.5.1, 31.6.0]
electron: [30.5.1]
# electron: [29.4.6, 30.5.1, 31.6.0]
# electron: [31.6.0, 32.1.0]

name: test-${{ matrix.os }}-v${{ matrix.electron }}
Expand Down Expand Up @@ -76,8 +77,6 @@ jobs:
name: "Run .net core tests macOS"
run: node tools/test.js CI
timeout-minutes: 10
# env:
# EDGE_USE_CORECLR: 1

- if: runner.os == 'Linux'
name: "Run .net core tests Linux"
Expand All @@ -88,8 +87,6 @@ jobs:
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
node tools/test.js CI
# env:
# EDGE_USE_CORECLR: 1
- name: Test report
uses: ./.github/actions/create-test-report
Expand Down

0 comments on commit 417ebb5

Please sign in to comment.