mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +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
|
||||
|
||||
# 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
|
||||
# of the test.
|
||||
# fields 'Author Web Site', 'antifeatures=', 'buildozer=', and 'sudo='
|
||||
# where added after 0.7.0, so that can't be part of the test.
|
||||
metadata_v0:
|
||||
script:
|
||||
- cd tests
|
||||
@ -19,6 +19,10 @@ metadata_v0:
|
||||
- sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
|
||||
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
|
||||
- cd fdroiddata
|
||||
- sed -i -e '/antifeatures=/d'
|
||||
-e '/buildozer=/d'
|
||||
-e '/sudo=/d'
|
||||
metadata/*.txt
|
||||
- ../tests/dump.py
|
||||
- cd ..
|
||||
- git reset --hard
|
||||
|
Loading…
Reference in New Issue
Block a user