mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
gitlab-ci: Only run scripts test on related code
Right now we only have one test against build_manifest.py, it is not needed to run this test if that code haven't changed. It's really easy to add more file or set a wild card in the future.
This commit is contained in:
parent
ba98b4138a
commit
64e3b154cd
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ test manifest:
|
|||
- dnf install -y python3-pytest python3-pytest-cov python3-requests
|
||||
script:
|
||||
- pytest-3 --junitxml=junit.xml --cov=build_manifest gitlab/build_manifest.py
|
||||
only:
|
||||
changes:
|
||||
- "gitlab/build_manifest.py"
|
||||
coverage: '/TOTAL.*\s+(\d+%)$/'
|
||||
artifacts:
|
||||
reports:
|
||||
|
|
Loading…
Reference in a new issue