Merge pull request #2650 from NoelDeMartin/MOBILE-3617

MOBILE-3617 ci: Redistribute e2e tests
main
Dani Palou 2020-12-15 08:25:51 +01:00 committed by GitHub
commit b9cb6115e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 4 deletions

View File

@ -60,17 +60,23 @@ jobs:
- npm install -g gulp - npm install -g gulp
script: scripts/aot.sh script: scripts/aot.sh
- stage: test - stage: test
name: "End to end tests (mod_forum, mod_messages and mod_comments)" name: "End to end tests (mod_forum and mod_messages)"
services: services:
- docker - docker
if: type = cron if: type = cron
script: scripts/test_e2e.sh "@app&&@mod_forum" "@app&&@mod_messages" "@app&&@mod_comments" script: scripts/test_e2e.sh "@app&&@mod_forum" "@app&&@mod_messages"
- stage: test - stage: test
name: "End to end tests (mod_data, mod_survey, mod_course, core_course and mod_courses)" name: "End to end tests (mod_data and mod_survey)"
services: services:
- docker - docker
if: type = cron if: type = cron
script: scripts/test_e2e.sh "@app&&@mod_data" "@app&&@mod_survey" "@app&&@mod_course" "@app&&@core_course" "@app&&@mod_courses" script: scripts/test_e2e.sh "@app&&@mod_data" "@app&&@mod_survey"
- stage: test
name: "End to end tests (mod_comments, mod_course, core_course and mod_courses)"
services:
- docker
if: type = cron
script: scripts/test_e2e.sh "@app&&@mod_comments" "@app&&@mod_course" "@app&&@core_course" "@app&&@mod_courses"
- stage: test - stage: test
name: "End to end tests (others)" name: "End to end tests (others)"
services: services: