mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
remove debugging
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build-type: ${{ inputs.target-platform == 'macos' && fromJSON('["darwin","mas"]') || (inputs.target-platform == 'windows' && fromJSON('["windows"]') || fromJSON('["linux"]')) }}
|
build-type: ${{ inputs.target-platform == 'macos' && fromJSON('["darwin","mas"]') || (inputs.target-platform == 'windows' && fromJSON('["windows"]') || fromJSON('["linux"]')) }}
|
||||||
shard: ${{ inputs.target-platform != 'macos' && fromJSON('[1, 2, 3, 4, 5, 6]') || fromJSON('[1, 2]') }}
|
shard: ${{ inputs.target-platform == 'linux' && fromJSON('[1, 2, 3]') || fromJSON('[1, 2]') }}
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: ${{ matrix.build-type }}
|
BUILD_TYPE: ${{ matrix.build-type }}
|
||||||
TARGET_ARCH: ${{ inputs.target-arch }}
|
TARGET_ARCH: ${{ inputs.target-arch }}
|
||||||
@@ -196,7 +196,7 @@ jobs:
|
|||||||
cd src/electron
|
cd src/electron
|
||||||
export ELECTRON_TEST_RESULTS_DIR=`pwd`/junit
|
export ELECTRON_TEST_RESULTS_DIR=`pwd`/junit
|
||||||
# Get which tests are on this shard
|
# Get which tests are on this shard
|
||||||
tests_files=$(node script/split-tests ${{ matrix.shard }} ${{ inputs.target-platform == 'macos' && 2 || 6 }})
|
tests_files=$(node script/split-tests ${{ matrix.shard }} ${{ inputs.target-platform == 'macos' && 2 || 3 }})
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
if [ "`uname`" = "Darwin" ]; then
|
if [ "`uname`" = "Darwin" ]; then
|
||||||
@@ -230,8 +230,7 @@ jobs:
|
|||||||
cd src\electron
|
cd src\electron
|
||||||
echo ELECTRON_TEST_RESULTS_DIR=$PWD\junit >> $env:GITHUB_ENV
|
echo ELECTRON_TEST_RESULTS_DIR=$PWD\junit >> $env:GITHUB_ENV
|
||||||
# Get which tests are on this shard
|
# Get which tests are on this shard
|
||||||
echo TEST_SHARD=${{ matrix.shard }} >> $env:GITHUB_ENV
|
$tests_files=node script\split-tests ${{ matrix.shard }} 2
|
||||||
$tests_files='spec\api-web-contents-spec.ts spec\webview-spec.ts spec\api-ipc-spec.ts spec\api-native-image-spec.ts spec\api-menu-item-spec.ts spec\api-system-preferences-spec.ts spec\api-web-contents-view-spec.ts spec\api-process-spec.ts spec\api-debugger-spec.ts spec\deprecate-spec.ts spec\api-screen-spec.ts spec\security-warnings-spec.ts spec\api-content-tracing-spec.ts spec\api-net-log-spec.ts spec\asar-integrity-spec.ts spec\crash-spec.ts spec\api-web-utils-spec.ts spec\api-power-save-blocker-spec.ts'
|
|
||||||
echo tests_files="$tests_files" >> $env:GITHUB_ENV
|
echo tests_files="$tests_files" >> $env:GITHUB_ENV
|
||||||
if ('${{ inputs.target-arch }}' -eq 'x86') {
|
if ('${{ inputs.target-arch }}' -eq 'x86') {
|
||||||
echo npm_config_arch=ia32 >> $env:GITHUB_ENV
|
echo npm_config_arch=ia32 >> $env:GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user