Skip to content
Snippets Groups Projects
Commit 9fd0918d authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis
Browse files

gitlab-ci: Run tox environment in parallel

parent 5485cfd5
No related branches found
No related tags found
No related merge requests found
Pipeline #886504802 passed
......@@ -91,7 +91,7 @@ static:
before_script:
- pip install -cconstraints.txt tox
script:
- tox -e "flake8,isort,yapf,pylint"
- tox run-parallel -e "flake8,isort,yapf,pylint"
# 'build' stage
docs:
......@@ -102,7 +102,7 @@ docs:
- pip install -cconstraints.txt tox
script:
- rm -rf docs/_build
- tox -e "docs"
- tox run -e "docs"
artifacts:
expire_in: 1 week
when: always
......@@ -118,7 +118,7 @@ build:
- pip install -cconstraints.txt tox
script:
- rm -rf dist
- tox -e build
- tox run -e "build"
artifacts:
expire_in: 1 week
when: always
......@@ -135,7 +135,7 @@ build_api:
script:
- cd satnogs-db-api-client
- rm -rf dist
- tox -e build
- tox run -e "build"
artifacts:
expire_in: 1 week
when: always
......@@ -152,7 +152,7 @@ test:
before_script:
- pip install -cconstraints.txt tox
script:
- tox -e deps,pytest
- tox run-parallel -e "deps,pytest"
# 'deploy' stage
docker:
......@@ -202,7 +202,7 @@ deploy:
- pip install -cconstraints.txt tox
script:
- rm -rf dist
- tox -e "upload"
- tox run -e "upload"
only:
refs:
- tags
......@@ -219,7 +219,7 @@ deploy_api:
script:
- cd satnogs-db-api-client
- rm -rf dist
- tox -e "upload"
- tox run -e "upload"
only:
refs:
- tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment