Commit 54d52b81c29e69a1a27a3a2c1ab7280ac21dcb40
1 parent
29486555
Exists in
master
and in
17 other branches
.gitlab-ci.yml: separate tests in stages
Showing
1 changed file
with
20 additions
and
1 deletions
Show diff stats
.gitlab-ci.yml
| ... | ... | @@ -4,16 +4,35 @@ before_script: |
| 4 | 4 | - mkdir -p locale # makes quick-start skip compiling translations |
| 5 | 5 | - ./script/silent-quick-start |
| 6 | 6 | |
| 7 | +stages: | |
| 8 | + - smoke-tests | |
| 9 | + - not-so-slow-tests | |
| 10 | + - slow-tests | |
| 11 | + | |
| 12 | +smoke: | |
| 13 | + script: bundle exec rake ci:smoke | |
| 14 | + stage: smoke-tests | |
| 15 | + | |
| 7 | 16 | units: |
| 8 | 17 | script: bundle exec rake test:units |
| 18 | + stage: not-so-slow-tests | |
| 19 | + | |
| 9 | 20 | functionals: |
| 10 | 21 | script: bundle exec rake test:functionals |
| 22 | + stage: not-so-slow-tests | |
| 23 | + | |
| 11 | 24 | integration: |
| 12 | 25 | script: bundle exec rake test:integration |
| 26 | + stage: not-so-slow-tests | |
| 27 | + | |
| 13 | 28 | cucumber: |
| 14 | 29 | script: bundle exec rake cucumber |
| 30 | + stage: slow-tests | |
| 31 | + | |
| 15 | 32 | selenium: |
| 16 | 33 | script: bundle exec rake selenium |
| 34 | + stage: slow-tests | |
| 35 | + | |
| 17 | 36 | plugins: |
| 18 | 37 | script: bundle exec rake test:noosfero_plugins |
| 19 | - | |
| 38 | + stage: slow-tests | ... | ... |