Changed CI triggers
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- changes:
|
||||||
|
- proxy/**/*
|
||||||
|
- Dockerfile
|
||||||
|
when: always
|
||||||
|
- when: never
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
@@ -10,19 +18,6 @@ test:
|
|||||||
script:
|
script:
|
||||||
- pip install -q -r requirements.txt
|
- pip install -q -r requirements.txt
|
||||||
- python -m unittest discover tests
|
- python -m unittest discover tests
|
||||||
only:
|
|
||||||
changes:
|
|
||||||
- ^README.md
|
|
||||||
- ^CHANGELOG
|
|
||||||
- ^.gitattribute
|
|
||||||
- ^.gitignore
|
|
||||||
- ^.gitlab-ci.yml
|
|
||||||
- ^tests/
|
|
||||||
- proxy/**/*
|
|
||||||
- Dockerfile
|
|
||||||
- requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user