Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
715661a2
Commit
715661a2
authored
5 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[ci]
#284
: fix: changes wasn't inherited but erased
- Build and tests jobs weren't triggered when the code was changing
parent
6d5fe97f
No related branches found
No related tags found
No related merge requests found
Pipeline
#7971
passed
5 years ago
Stage: checks
Stage: tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-4
3 additions, 4 deletions
.gitlab-ci.yml
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
4
View file @
715661a2
...
@@ -17,7 +17,6 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
...
@@ -17,7 +17,6 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
-
tests/*.py
-
tests/*.py
.changes
:
.changes
:
extends
:
.code_changes
only
:
only
:
changes
:
changes
:
-
.gitlab-ci.yml
-
.gitlab-ci.yml
...
@@ -25,7 +24,7 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
...
@@ -25,7 +24,7 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
-
poetry.lock
-
poetry.lock
build
:
build
:
extends
:
.changes
extends
:
[
.code_changes
,
.changes
]
stage
:
checks
stage
:
checks
script
:
script
:
-
poetry build
-
poetry build
...
@@ -38,7 +37,7 @@ format:
...
@@ -38,7 +37,7 @@ format:
-
black --check silkaj tests
-
black --check silkaj tests
.tests
:
.tests
:
extends
:
.changes
extends
:
[
.code_changes
,
.changes
]
stage
:
tests
stage
:
tests
image
:
$DOCKER_IMAGE/$PYTHON_VERSION:latest
image
:
$DOCKER_IMAGE/$PYTHON_VERSION:latest
script
:
script
:
...
@@ -91,7 +90,7 @@ pypi:
...
@@ -91,7 +90,7 @@ pypi:
-
poetry publish --build --username $PYPI_LOGIN --password $PYPI_PASSWORD
-
poetry publish --build --username $PYPI_LOGIN --password $PYPI_PASSWORD
pages
:
pages
:
extends
:
.changes
extends
:
[
.code_changes
,
.changes
]
needs
:
[
tests-3.7-coverage
]
needs
:
[
tests-3.7-coverage
]
only
:
[
dev
]
only
:
[
dev
]
stage
:
coverage
stage
:
coverage
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment