Use a separate config for webpacker on CI

For some reason having webpack compile turned on for the test
environment makes system test slow, resulting in lots of failure. Assets
are precompiled for system test, so there isn't any compilation on each
request, but still test are slow.
To fix the issue, we use a separate config file for CI where webpack
compile is set turned off.
This commit is contained in:
Gaetan Craig-Riou
2026-01-13 14:06:15 +11:00
parent a934b60f67
commit 8cd9e94148
2 changed files with 35 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ jobs:
- name: Run tests
env:
WEBPACKER_CONFIG: "config/ci_webpacker.yml"
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC: ff2456e64c9f2aa5157eb0daf711d3c3
KNAPSACK_PRO_CI_NODE_TOTAL: ${{ matrix.ci_node_total }}
KNAPSACK_PRO_CI_NODE_INDEX: ${{ matrix.ci_node_index }}