mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1250 from YunoHost/ci-triggered-only-on-file-changed
ci triggered only on file changed
This commit is contained in:
commit
ee7926e03b
1 changed files with 43 additions and 7 deletions
|
@ -58,69 +58,105 @@ test-helpers:
|
||||||
script:
|
script:
|
||||||
- cd tests
|
- cd tests
|
||||||
- bash test_helpers.sh
|
- bash test_helpers.sh
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- data/helpers.d/*
|
||||||
|
|
||||||
test-apps:
|
test-apps:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_apps.py
|
- python3 -m pytest tests/test_apps.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/app.py
|
||||||
|
|
||||||
test-appscatalog:
|
test-appscatalog:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_appscatalog.py
|
- python3 -m pytest tests/test_appscatalog.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/app.py
|
||||||
|
|
||||||
test-appurl:
|
test-appurl:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_appurl.py
|
- python3 -m pytest tests/test_appurl.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/app.py
|
||||||
|
|
||||||
test-apps-arguments-parsing:
|
test-apps-arguments-parsing:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_apps_arguments_parsing.py
|
- python3 -m pytest tests/test_apps_arguments_parsing.py
|
||||||
|
only:
|
||||||
test-backuprestore:
|
changes:
|
||||||
extends: .test-stage
|
- src/yunohost/app.py
|
||||||
script:
|
|
||||||
- cd src/yunohost
|
|
||||||
- python3 -m pytest tests/test_backuprestore.py
|
|
||||||
|
|
||||||
test-changeurl:
|
test-changeurl:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_changeurl.py
|
- python3 -m pytest tests/test_changeurl.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/app.py
|
||||||
|
|
||||||
|
test-backuprestore:
|
||||||
|
extends: .test-stage
|
||||||
|
script:
|
||||||
|
- cd src/yunohost
|
||||||
|
- python3 -m pytest tests/test_backuprestore.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/backup.py
|
||||||
|
|
||||||
test-permission:
|
test-permission:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_permission.py
|
- python3 -m pytest tests/test_permission.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/permission.py
|
||||||
|
|
||||||
test-settings:
|
test-settings:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_settings.py
|
- python3 -m pytest tests/test_settings.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/settings.py
|
||||||
|
|
||||||
test-user-group:
|
test-user-group:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_user-group.py
|
- python3 -m pytest tests/test_user-group.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/user.py
|
||||||
|
|
||||||
test-regenconf:
|
test-regenconf:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_regenconf.py
|
- python3 -m pytest tests/test_regenconf.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/regenconf.py
|
||||||
|
|
||||||
test-service:
|
test-service:
|
||||||
extends: .test-stage
|
extends: .test-stage
|
||||||
script:
|
script:
|
||||||
- cd src/yunohost
|
- cd src/yunohost
|
||||||
- python3 -m pytest tests/test_service.py
|
- python3 -m pytest tests/test_service.py
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- src/yunohost/service.py
|
Loading…
Add table
Reference in a new issue