Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -878,10 +878,10 @@ jobs:
stepName: 'test-ppr-prod-${{ matrix.group }}'
secrets: inherit

# TODO: remove these jobs once Cache Components is the default
# TODO: Disable these when no more experiments are tested
# Manifest generated via: https://gist.github.com/wyattjoh/2ceaebd82a5bcff4819600fd60126431
test-cache-components-integration:
name: test cache components integration
test-experimental-integration:
name: test experimental integration
needs: ['optimize-ci', 'changes', 'build-native', 'build-next']
if: ${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}

Expand All @@ -891,16 +891,16 @@ jobs:
afterBuild: |
export __NEXT_EXPERIMENTAL_PPR=true # for compatibility with the existing tests
export __NEXT_EXPERIMENTAL_CACHE_COMPONENTS=true
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="test/experimental-tests-manifest.json"

node run-tests.js \
--timings \
--type integration
stepName: 'test-cache-components-integration'
stepName: 'test-experimental-integration'
secrets: inherit

test-cache-components-dev:
name: test cache components dev
test-experimental-dev:
name: test experimental dev
needs: ['optimize-ci', 'changes', 'build-native', 'build-next']
if: ${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}

Expand All @@ -913,18 +913,18 @@ jobs:
afterBuild: |
export __NEXT_EXPERIMENTAL_PPR=true # for compatibility with the existing tests
export __NEXT_EXPERIMENTAL_CACHE_COMPONENTS=true
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="test/experimental-tests-manifest.json"
export NEXT_TEST_MODE=dev

node run-tests.js \
--timings \
-g ${{ matrix.group }} \
--type development
stepName: 'test-cache-components-dev-${{ matrix.group }}'
stepName: 'test-experimental-dev-${{ matrix.group }}'
secrets: inherit

test-cache-components-prod:
name: test cache components prod
test-experimental-prod:
name: test experimental prod
needs: ['optimize-ci', 'changes', 'build-native', 'build-next']
if: ${{ needs.optimize-ci.outputs.skip == 'false' && needs.changes.outputs.docs-only == 'false' }}

Expand All @@ -937,14 +937,14 @@ jobs:
afterBuild: |
export __NEXT_EXPERIMENTAL_PPR=true # for compatibility with the existing tests
export __NEXT_EXPERIMENTAL_CACHE_COMPONENTS=true
export NEXT_EXTERNAL_TESTS_FILTERS="test/cache-components-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="test/experimental-tests-manifest.json"
export NEXT_TEST_MODE=start

node run-tests.js \
--timings \
-g ${{ matrix.group }} \
--type production
stepName: 'test-cache-components-prod-${{ matrix.group }}'
stepName: 'test-experimental-prod-${{ matrix.group }}'
secrets: inherit

tests-pass:
Expand All @@ -963,9 +963,9 @@ jobs:
'test-ppr-dev',
'test-ppr-prod',
'test-ppr-integration',
'test-cache-components-dev',
'test-cache-components-prod',
'test-cache-components-integration',
'test-experimental-dev',
'test-experimental-prod',
'test-experimental-integration',
'test-cargo-unit',
'rust-check',
'rustdoc-check',
Expand Down
Loading