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