Refactor production tests (#8073)
This commit is contained in:
1 parent
5d438e3f25
commit
118b79f0c9
5 files changed
+45
-50
No files matched your search
@@ -116,8 +116,13 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Run Tests
|
||||
run: yarn test:dist
|
||||
- name: Run Tests (macOS)
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: yarn test:dist --maxWorkers=4
|
||||
|
||||
- name: Run Tests (Linux and Windows)
|
||||
if: matrix.os != 'macos-latest'
|
||||
run: yarn test:dist --maxWorkers=2
|
||||
|
||||
standalone:
|
||||
strategy:
|
||||
@@ -134,8 +139,6 @@ jobs:
|
||||
exclude:
|
||||
- os: "macos-latest"
|
||||
node: "13"
|
||||
env:
|
||||
STANDALONE: true
|
||||
name: Node.js ${{ matrix.node }} on ${{ matrix.os }} (standalone)
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: [build]
|
||||
@@ -159,5 +162,10 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Run Tests
|
||||
run: yarn test:dist
|
||||
- name: Run Tests (macOS)
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: yarn test:dist-standalone --maxWorkers=4
|
||||
|
||||
- name: Run Tests (Linux and Windows)
|
||||
if: matrix.os != 'macos-latest'
|
||||
run: yarn test:dist-standalone --maxWorkers=2
|
||||
Reference in new issue
Block a user