Skip to content

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

DEV: Only enable minio for core system tests (#24642)

Alan Guo Xiang Tanedf074bf787b
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index a331f4c67b9..da5ed8922eb 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -140,6 +140,7 @@ jobs:
run: bin/rake themes:clone_all_official
- name: Add hosts to /etc/hosts, otherwise Chrome cannot reach minio
+ if: matrix.build_type == 'system' && matrix.target == 'core'
run: |
echo "127.0.0.1 minio.local" | sudo tee -a /etc/hosts
echo "127.0.0.1 discoursetest.minio.local" | sudo tee -a /etc/hosts
@@ -253,8 +254,8 @@ jobs:
if: matrix.build_type == 'system'
run: bin/ember-cli --build
- - name: Ensure latest minio binary installed for System Tests
- if: matrix.build_type == 'system'
+ - name: Ensure latest minio binary installed for Core System Tests
+ if: matrix.build_type == 'system' && matrix.target == 'core'
run: bundle exec ruby script/install_minio_binaries.rb
- name: Core System Tests