Skip to content

A platform for community discussion. Free, open, simple.

DEV: Split chat system tests into separate GitHub actions job (#24096)

David Taylora546dcb0ccf5
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 98a233fd668..a2687b807fc 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -48,6 +48,10 @@ jobs:
target: plugins
- build_type: frontend
target: core # Handled by core_frontend_tests job (below)
+ include:
+ - build_type: system
+ target: chat
+ ruby: "3.2"
steps:
- name: Set working directory owner
@@ -230,7 +234,15 @@ jobs:
- name: Plugin System Tests
if: matrix.build_type == 'system' && matrix.target == 'plugins'
- run: LOAD_PLUGINS=1 RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation plugins/*/spec/system
+ run: |
+ GLOBIGNORE="plugins/chat/*";
+ LOAD_PLUGINS=1 RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation plugins/*/spec/system
+ shell: bash
+ timeout-minutes: 30
+
+ - name: Chat System Tests
+ if: matrix.build_type == 'system' && matrix.target == 'chat'
+ run: LOAD_PLUGINS=1 RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation plugins/chat/spec/system
timeout-minutes: 30
- name: Upload failed system test screenshots