Fix integration test (#12859)
This commit is contained in:
1 parent
8397527c05
commit
592f27ce0b
43 files changed
+236
-246
No files matched your search
@@ -50,4 +50,4 @@ jobs:
|
||||
run: npm install --global pnpm
|
||||
|
||||
- name: Run Tests
|
||||
run: yarn test:dev-package --maxWorkers=2
|
||||
run: yarn test:dev-package
|
||||
@@ -53,27 +53,13 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
# - name: Run Integration Tests (macOS)
|
||||
# if: ${{ matrix.os == 'macos-latest' }}
|
||||
# run: yarn test:integration --maxWorkers=4
|
||||
- name: Run Tests
|
||||
if: ${{ !matrix.ENABLE_CODE_COVERAGE }}
|
||||
run: yarn test
|
||||
|
||||
# - name: Run Integration Tests (Linux and Windows)
|
||||
# if: ${{ matrix.os != 'macos-latest' }}
|
||||
# run: yarn test:integration --maxWorkers=2
|
||||
|
||||
# - name: Upload Coverage
|
||||
# uses: codecov/codecov-action@v2.1.0
|
||||
# if: ${{ matrix.ENABLE_CODE_COVERAGE }}
|
||||
# with:
|
||||
# fail_ci_if_error: true
|
||||
|
||||
- name: Run Format Tests (macOS)
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: yarn test:format --maxWorkers=4
|
||||
|
||||
- name: Run Format Tests (Linux and Windows)
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
run: yarn c8 yarn test:format --maxWorkers=2
|
||||
- name: Run Tests (coverage)
|
||||
if: ${{ matrix.ENABLE_CODE_COVERAGE }}
|
||||
run: yarn c8 yarn test
|
||||
|
||||
- name: Upload Coverage
|
||||
uses: codecov/codecov-action@v3.1.0
|
||||
@@ -81,14 +67,14 @@ jobs:
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
|
||||
# # #8073 test
|
||||
# - name: Run Tests (PRETTIER_FALLBACK_RESOLVE)
|
||||
# run: yarn test "tests/integration/__tests__/(config|plugin)"
|
||||
# env:
|
||||
# PRETTIER_FALLBACK_RESOLVE: true
|
||||
# #8073 test
|
||||
- name: Run Tests (PRETTIER_FALLBACK_RESOLVE)
|
||||
run: yarn c8 yarn test "tests/integration/__tests__/(config|plugin)"
|
||||
env:
|
||||
PRETTIER_FALLBACK_RESOLVE: true
|
||||
|
||||
# - name: Upload Coverage (PRETTIER_FALLBACK_RESOLVE)
|
||||
# uses: codecov/codecov-action@v3.1.0
|
||||
# if: ${{ matrix.ENABLE_CODE_COVERAGE }}
|
||||
# with:
|
||||
# fail_ci_if_error: true
|
||||
- name: Upload Coverage (PRETTIER_FALLBACK_RESOLVE)
|
||||
uses: codecov/codecov-action@v3.1.0
|
||||
if: ${{ matrix.ENABLE_CODE_COVERAGE }}
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
@@ -104,21 +104,11 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Run Tests (macOS)
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: yarn test:dist --maxWorkers=4
|
||||
- name: Run Tests
|
||||
run: yarn test:dist
|
||||
|
||||
- name: Run Tests (Linux and Windows)
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
run: yarn test:dist --maxWorkers=2
|
||||
|
||||
- name: Run Format Tests (standalone) (macOS)
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: yarn test:dist-standalone --maxWorkers=4
|
||||
|
||||
- name: Run Format Tests (standalone) (Linux and Windows)
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
run: yarn test:dist-standalone --maxWorkers=2
|
||||
- name: Run Format Tests (standalone)
|
||||
run: yarn test:dist-standalone
|
||||
|
||||
# #8073 test
|
||||
- name: Run Tests (PRETTIER_FALLBACK_RESOLVE)
|
||||
|
||||
Reference in new issue
Block a user