Skip to content

Commit

Permalink
ci: force tox install during lint tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed May 15, 2023
1 parent 031c641 commit 1af88b0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitlab/ci/lint.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.install_tox: &install_tox
- pip3 install -U tox --break-system-packages

########################################
# LINTER
########################################
Expand All @@ -8,27 +11,35 @@ lint39:
image: "before-install"
needs: []
allow_failure: true
before_script:
- *install_tox
script:
- tox -e py39-lint

invalidcode39:
stage: lint
image: "before-install"
needs: []
before_script:
- *install_tox
script:
- tox -e py39-invalidcode

mypy:
stage: lint
image: "before-install"
needs: []
before_script:
- *install_tox
script:
- tox -e py39-mypy

black:
stage: lint
image: "before-install"
needs: []
before_script:
- *install_tox
before_script:
- apt-get update -y && apt-get install git hub -y
- git config --global user.email "[email protected]"
Expand Down

0 comments on commit 1af88b0

Please sign in to comment.