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

Why this change?

Let's us not run stuff when we don't need it.
This commit is contained in:
Alan Guo Xiang Tan 2023-12-07 11:46:14 +08:00 committed by GitHub
parent 7d4fd19696
commit edf074bf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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