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:
parent
7d4fd19696
commit
edf074bf78
|
@ -140,6 +140,7 @@ jobs:
|
||||||
run: bin/rake themes:clone_all_official
|
run: bin/rake themes:clone_all_official
|
||||||
|
|
||||||
- name: Add hosts to /etc/hosts, otherwise Chrome cannot reach minio
|
- name: Add hosts to /etc/hosts, otherwise Chrome cannot reach minio
|
||||||
|
if: matrix.build_type == 'system' && matrix.target == 'core'
|
||||||
run: |
|
run: |
|
||||||
echo "127.0.0.1 minio.local" | sudo tee -a /etc/hosts
|
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
|
echo "127.0.0.1 discoursetest.minio.local" | sudo tee -a /etc/hosts
|
||||||
|
@ -253,8 +254,8 @@ jobs:
|
||||||
if: matrix.build_type == 'system'
|
if: matrix.build_type == 'system'
|
||||||
run: bin/ember-cli --build
|
run: bin/ember-cli --build
|
||||||
|
|
||||||
- name: Ensure latest minio binary installed for System Tests
|
- name: Ensure latest minio binary installed for Core System Tests
|
||||||
if: matrix.build_type == 'system'
|
if: matrix.build_type == 'system' && matrix.target == 'core'
|
||||||
run: bundle exec ruby script/install_minio_binaries.rb
|
run: bundle exec ruby script/install_minio_binaries.rb
|
||||||
|
|
||||||
- name: Core System Tests
|
- name: Core System Tests
|
||||||
|
|
Loading…
Reference in New Issue