Different way of working with parallel.

This commit is contained in:
Robert de Bock 2019-12-23 20:08:21 +01:00
parent a338aa724d
commit 63be1e7aa0
2 changed files with 9 additions and 5 deletions

View File

@ -100,7 +100,11 @@ jobs:
with: with:
image: {% raw %}${{ matrix.image }}{% endraw %} image: {% raw %}${{ matrix.image }}{% endraw %}
options: parallel {% if tox_parallel is defined %}
{% if tox_parallel %}
options: "--parallel all"
{% endif %}
{% endif %}
release: release:
needs: needs:
- test - test

View File

@ -97,12 +97,12 @@ install:
- pip install tox - pip install tox
script: script:
{% if travis_parallel is defined %} {% if tox_parallel is defined %}
{% if not travis_parallel %} {% if tox_parallel %}
- tox - tox --parallel all
{% endif %} {% endif %}
{% else %} {% else %}
- tox --parallel all - tox
{% endif %} {% endif %}
notifications: notifications: