build: run tests on windows normally

This commit is contained in:
Samuel Attard
2024-06-14 23:22:05 -07:00
parent 7ab051c083
commit af4eaada02

View File

@@ -109,8 +109,8 @@ jobs:
tests_files=$(node script/split-tests ${{ matrix.shard }} ${{ inputs.target-platform == 'macos' && 1 || 3 }})
# Run tests
if [ "`uname`" = "Darwin" ]; then
node script/yarn test --runners=main --trace-uncaught --enable-logging
if [ "${{ inputs.target-platform }}" != "linux" ]; then
node script/yarn test --runners=main --trace-uncaught --enable-logging --files $tests_files
else
chown :builduser .. && chmod g+w ..
chown -R :builduser . && chmod -R g+w .