mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-10 03:30:22 +00:00
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:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user