mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 10:40:10 +02:00
gitlab-ci: filter new build fields in metadata_v0 test
This commit is contained in:
parent
0a953814e2
commit
619c66e1dc
@ -7,8 +7,8 @@ test:
|
|||||||
- ./complete-ci-tests
|
- ./complete-ci-tests
|
||||||
|
|
||||||
# Test that the parsing of the .txt format didn't change. The metadata
|
# Test that the parsing of the .txt format didn't change. The metadata
|
||||||
# field 'Author Web Site' was added after 0.7.0, so that can't be part
|
# fields 'Author Web Site', 'antifeatures=', 'buildozer=', and 'sudo='
|
||||||
# of the test.
|
# where added after 0.7.0, so that can't be part of the test.
|
||||||
metadata_v0:
|
metadata_v0:
|
||||||
script:
|
script:
|
||||||
- cd tests
|
- cd tests
|
||||||
@ -19,6 +19,10 @@ metadata_v0:
|
|||||||
- sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
|
- sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
|
||||||
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
|
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
|
||||||
- cd fdroiddata
|
- cd fdroiddata
|
||||||
|
- sed -i -e '/antifeatures=/d'
|
||||||
|
-e '/buildozer=/d'
|
||||||
|
-e '/sudo=/d'
|
||||||
|
metadata/*.txt
|
||||||
- ../tests/dump.py
|
- ../tests/dump.py
|
||||||
- cd ..
|
- cd ..
|
||||||
- git reset --hard
|
- git reset --hard
|
||||||
|
Loading…
Reference in New Issue
Block a user