Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
d573c0646305
Commit
3b7f719d
authored
Apr 07, 2021
by
Laurent Peuch
Browse files
refacor(skeleton): reorganize .gitlab-ci.yml.tmpl by adding a "lint" stage
parent
6d3f6bc72b2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/skeleton/.gitlab-ci.yml.tmpl
View file @
d573c064
...
...
@@ -11,26 +11,23 @@ workflow:
- when: always
stages:
- lint
- tests
- after-tests
before_script:
- pip install tox
py3:
stage: tests
script: tox -e py3
flake8:
stage:
tests
stage:
lint
script: tox -e flake8
check-manifest:
stage:
tests
stage:
lint
script: tox -e check-manifest
black:
stage:
tests
stage:
lint
script: tox -e black
yamllint:
...
...
@@ -38,7 +35,7 @@ yamllint:
- changes:
- "**/*.yaml"
- "**/*.yml"
stage:
tests
stage:
lint
before_script:
- pip install tox
script:
...
...
@@ -46,9 +43,13 @@ yamllint:
# If you have mypy set up
# mypy:
# stage:
tests
# stage:
lint
# script: tox -e mypy
py3:
stage: tests
script: tox -e py3
# If you have your project on readthedocs, you can automatically trigger its
# build by setting:
# - READTHEDOCS_TOKEN
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment