Revert "try to narrow down hanging spec"

This reverts commit a0f959f538.
This commit is contained in:
John Kleinschmidt
2024-11-13 10:56:30 -05:00
parent cfbb9c3ee8
commit 8d6df4b241
4 changed files with 13 additions and 24 deletions

View File

@@ -50,7 +50,7 @@ jobs:
fail-fast: false
matrix:
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:
BUILD_TYPE: ${{ matrix.build-type }}
TARGET_ARCH: ${{ inputs.target-arch }}
@@ -243,7 +243,7 @@ jobs:
cd src\electron
echo ELECTRON_TEST_RESULTS_DIR=$PWD\junit >> $env:GITHUB_ENV
# Get which tests are on this shard
$tests_files=node script\split-tests ${{ matrix.shard }} 6
$tests_files=node script\split-tests ${{ matrix.shard }} 2
echo tests_files="$tests_files spec\woa-screencap-spec.ts" >> $env:GITHUB_ENV
if ('${{ inputs.target-arch }}' -eq 'x86') {
echo npm_config_arch=ia32 >> $env:GITHUB_ENV