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
cubes
intranet
Commits
2dfa5cb6235b
Commit
362e1707
authored
Mar 01, 2021
by
Nicolas Chauvat
Browse files
ci: run python tests only when python code changes
parent
957296275a53
Pipeline
#37406
failed with stages
in 1 minute and 48 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2dfa5cb6
...
...
@@ -15,10 +15,16 @@ check-manifest:
flake8
:
stage
:
tests
rules
:
-
changes
:
-
"
**/*.py"
script
:
tox -e flake8
py3
:
stage
:
tests
rules
:
-
changes
:
-
"
**/*.py"
script
:
tox -e py3
artifacts
:
paths
:
...
...
@@ -26,6 +32,9 @@ py3:
black
:
stage
:
tests
rules
:
-
changes
:
-
"
**/*.py"
script
:
tox -e black
mypy
:
...
...
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