CI: Disable frontend admin tests for non-admin workflow
parent
a354b03633
commit
644c8e6195
|
@ -102,9 +102,6 @@ jobs:
|
||||||
- name: Create settings.json
|
- name: Create settings.json
|
||||||
run: cp settings.json.template settings.json
|
run: cp settings.json.template settings.json
|
||||||
|
|
||||||
- name: Write custom settings.json that enables the Admin UI tests
|
|
||||||
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
|
|
||||||
|
|
||||||
# XXX we should probably run all tests, because plugins could effect their results
|
# XXX we should probably run all tests, because plugins could effect their results
|
||||||
- name: Remove standard frontend test files, so only plugin tests are run
|
- name: Remove standard frontend test files, so only plugin tests are run
|
||||||
run: rm src/tests/frontend/specs/*
|
run: rm src/tests/frontend/specs/*
|
||||||
|
|
Loading…
Reference in New Issue