diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index ade4d953ee70a..a3eae2dd63da3 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -163,7 +163,7 @@ jobs: group: [1/5, 2/5, 3/5, 4/5, 5/5] uses: ./.github/workflows/build_reusable.yml with: - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --test-pattern '^(test\/(development|e2e))/.*\.test\.(js|jsx|ts|tsx)$' --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --test-pattern '^(test\/(development|e2e))/.*\.test\.(js|jsx|ts|tsx)$' --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} stepName: 'test-turbopack-dev-${{ matrix.group }}' secrets: inherit @@ -179,7 +179,7 @@ jobs: uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 18.17.0 - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration stepName: 'test-turbopack-integration-${{ matrix.group }}' secrets: inherit diff --git a/.github/workflows/turbopack-nextjs-build-integration-tests.yml b/.github/workflows/turbopack-nextjs-build-integration-tests.yml index c0ac2c36c5ce0..e58560e51491d 100644 --- a/.github/workflows/turbopack-nextjs-build-integration-tests.yml +++ b/.github/workflows/turbopack-nextjs-build-integration-tests.yml @@ -28,8 +28,6 @@ env: NEXT_TELEMETRY_DISABLED: 1 TEST_CONCURRENCY: 6 NEXT_JUNIT_TEST_REPORT: 'true' - # Turbopack specific customization for the test runner - TURBOPACK: 1 __INTERNAL_CUSTOM_TURBOPACK_BINDINGS: ${{ github.workspace }}/packages/next-swc/native/next-swc.linux-x64-gnu.node NEXT_TEST_SKIP_RETRY_MANIFEST: ${{ github.workspace }}/integration-test-data/test-results/main/failed-test-path-list.json NEXT_TEST_CONTINUE_ON_ERROR: TRUE diff --git a/.github/workflows/turbopack-nextjs-dev-integration-tests.yml b/.github/workflows/turbopack-nextjs-dev-integration-tests.yml index 6b6ead729c351..95f102a46469a 100644 --- a/.github/workflows/turbopack-nextjs-dev-integration-tests.yml +++ b/.github/workflows/turbopack-nextjs-dev-integration-tests.yml @@ -28,8 +28,6 @@ env: NEXT_TELEMETRY_DISABLED: 1 TEST_CONCURRENCY: 6 NEXT_JUNIT_TEST_REPORT: 'true' - # Turbopack specific customization for the test runner - TURBOPACK: 1 __INTERNAL_CUSTOM_TURBOPACK_BINDINGS: ${{ github.workspace }}/packages/next-swc/native/next-swc.linux-x64-gnu.node NEXT_TEST_SKIP_RETRY_MANIFEST: ${{ github.workspace }}/integration-test-data/test-results/main/failed-test-path-list.json NEXT_TEST_CONTINUE_ON_ERROR: TRUE @@ -86,7 +84,7 @@ jobs: - name: Run test/development run: | - NEXT_TEST_MODE=dev TURBOPACK=1 node run-tests.js -g ${{ matrix.group }}/6 -c ${TEST_CONCURRENCY} --type development + NEXT_TEST_MODE=dev TURBOPACK=1 TURBOPACK_DEV=1 node run-tests.js -g ${{ matrix.group }}/6 -c ${TEST_CONCURRENCY} --type development # It is currently expected to fail some of next.js integration test, do not fail CI check. continue-on-error: true @@ -132,7 +130,7 @@ jobs: - name: Run test/integration run: | - TURBOPACK=1 node run-tests.js -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration + TURBOPACK=1 TURBOPACK_DEV=1 node run-tests.js -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration continue-on-error: true - name: Upload test report artifacts