Commit a7561344b82fc9043e46d11376b84974c9138477
1 parent
c6adef89
Exists in
send_email_to_admins
and in
5 other branches
gitlab-ci: slice tests
Showing
1 changed file
with
39 additions
and
6 deletions
Show diff stats
.gitlab-ci.yml
@@ -30,14 +30,47 @@ integration: | @@ -30,14 +30,47 @@ integration: | ||
30 | script: bundle exec rake test:integration | 30 | script: bundle exec rake test:integration |
31 | stage: all-tests | 31 | stage: all-tests |
32 | 32 | ||
33 | -cucumber: | ||
34 | - script: bundle exec rake cucumber | 33 | +cucumber-1: |
34 | + script: SLICE=1/2 bundle exec rake cucumber | ||
35 | + stage: all-tests | ||
36 | +cucumber-2: | ||
37 | + script: SLICE=2/2 bundle exec rake cucumber | ||
35 | stage: all-tests | 38 | stage: all-tests |
36 | 39 | ||
37 | -selenium: | ||
38 | - script: bundle exec rake selenium | 40 | +selenium-1: |
41 | + script: SLICE=1/6 bundle exec rake selenium | ||
42 | + stage: all-tests | ||
43 | +selenium-2: | ||
44 | + script: SLICE=2/6 bundle exec rake selenium | ||
45 | + stage: all-tests | ||
46 | +selenium-3: | ||
47 | + script: SLICE=3/6 bundle exec rake selenium | ||
48 | + stage: all-tests | ||
49 | +selenium-4: | ||
50 | + script: SLICE=4/6 bundle exec rake selenium | ||
51 | + stage: all-tests | ||
52 | +selenium-5: | ||
53 | + script: SLICE=5/6 bundle exec rake selenium | ||
54 | + stage: all-tests | ||
55 | +selenium-6: | ||
56 | + script: SLICE=6/6 bundle exec rake selenium | ||
39 | stage: all-tests | 57 | stage: all-tests |
40 | 58 | ||
41 | -plugins: | ||
42 | - script: bundle exec rake test:noosfero_plugins | 59 | +# NOOSFERO_BUNDLE_OPTS=install makes migrations fails |
60 | +# probably because of rubygems-integration | ||
61 | +plugins-1: | ||
62 | + script: SLICE=1/5 bundle exec rake test:noosfero_plugins | ||
43 | stage: all-tests | 63 | stage: all-tests |
64 | +plugins-2: | ||
65 | + script: SLICE=2/5 bundle exec rake test:noosfero_plugins | ||
66 | + stage: all-tests | ||
67 | +plugins-3: | ||
68 | + script: SLICE=3/5 bundle exec rake test:noosfero_plugins | ||
69 | + stage: all-tests | ||
70 | +plugins-4: | ||
71 | + script: SLICE=4/5 bundle exec rake test:noosfero_plugins | ||
72 | + stage: all-tests | ||
73 | +plugins-5: | ||
74 | + script: SLICE=5/5 bundle exec rake test:noosfero_plugins | ||
75 | + stage: all-tests | ||
76 | + |