Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core

Commits:
f860d19f by Abhilash Raj at 2018-09-10T01:57:10Z
Parallelize tests in Gitlab CI.

This splits the different Python versions into separate individual tests so that
they can be parallelized. This should also take care of some transient failures
in various tests due to some runners not shutting down.

- - - - -
0fbb37f0 by Abhilash Raj at 2018-09-10T02:43:05Z
Merge branch 'parallel-test' into 'master'

Parallelize tests in Gitlab CI.

See merge request mailman/mailman!414
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -20,28 +20,52 @@ docs:
   script:
   - tox -e docs
 
-sqlite:
+sqlite-35:
   script:
-  - tox -e py35-nocov,py36-nocov,py37-nocov
+  - tox -e py35-nocov
 
-pgsql:
+sqlite-36:
+  script:
+  - tox -e py36-nocov
+
+sqlite-37:
+  script:
+  - tox -e py37-nocov
+
+pgsql-35:
+  services:
+  - postgres:latest
+  script:
+  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e 
py35-nocov-pg
+  tags:
+  - postgres
+
+pgsql-37:
   services:
   - postgres:latest
   script:
-  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e 
py35-nocov-pg,py36-nocov-pg,py37-nocov-pg
+  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e 
py37-nocov-pg
   tags:
   - postgres
 
-mysql:
+mysql-35:
+  services:
+  - mysql:5.6
+  script:
+  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e 
py35-nocov-mysql
+  tags:
+  - mysql
+
+mysql-37:
   services:
   - mysql:5.6
   script:
-  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e 
py35-nocov-mysql,py36-nocov-mysql,py37-nocov-mysql
+  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e 
py37-nocov-mysql
   tags:
   - mysql
 
 diffcov:
   script:
-  - tox -e py35-diffcov,py36-diffcov,py37-diffcov
+  - tox -e py37-diffcov
   except:
   - master



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/91cf6c932d2bad0a7b62dbc36c0a83f1838335ff...0fbb37f0ca1d93338751c6ed3ec3f5f7bbb46daa

-- 
View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/91cf6c932d2bad0a7b62dbc36c0a83f1838335ff...0fbb37f0ca1d93338751c6ed3ec3f5f7bbb46daa
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to