Commit 673c15d9 authored by Moul's avatar Moul

[ci] Do not trigger build, tests, type check on modification of non-relevant files

parent d1baa407
......@@ -37,8 +37,21 @@ push_to_github:
- eval "$(pyenv init -)"
- pyenv shell $PYENV_PYTHON_VERSION
.changes: &changes
except:
changes:
- CHANGELOG.md
- ci/*
- config
- docs
- LICENSE*
- Makefile
- README*
- release.sh
build: &build
<<: *pyenv
<<: *changes
stage: build
script:
- pip install -r requirements.txt
......@@ -47,6 +60,7 @@ build: &build
test:
<<: *pyenv
<<: *changes
stage: test
script:
- pip install coveralls
......@@ -55,6 +69,7 @@ test:
mypy:
<<: *pyenv
<<: *changes
stage: test
script:
- pip install -r requirements_dev.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment