Skip to content
Snippets Groups Projects
Commit 673c15d9 authored by Moul's avatar Moul
Browse files

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

parent d1baa407
Branches
Tags
1 merge request!56Several transaction enhancements, other improvements
...@@ -37,8 +37,21 @@ push_to_github: ...@@ -37,8 +37,21 @@ push_to_github:
- eval "$(pyenv init -)" - eval "$(pyenv init -)"
- pyenv shell $PYENV_PYTHON_VERSION - pyenv shell $PYENV_PYTHON_VERSION
.changes: &changes
except:
changes:
- CHANGELOG.md
- ci/*
- config
- docs
- LICENSE*
- Makefile
- README*
- release.sh
build: &build build: &build
<<: *pyenv <<: *pyenv
<<: *changes
stage: build stage: build
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
...@@ -47,6 +60,7 @@ build: &build ...@@ -47,6 +60,7 @@ build: &build
test: test:
<<: *pyenv <<: *pyenv
<<: *changes
stage: test stage: test
script: script:
- pip install coveralls - pip install coveralls
...@@ -55,6 +69,7 @@ test: ...@@ -55,6 +69,7 @@ test:
mypy: mypy:
<<: *pyenv <<: *pyenv
<<: *changes
stage: test stage: test
script: script:
- pip install -r requirements_dev.txt - pip install -r requirements_dev.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment