mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 11:19:13 +00:00
gitlab-ci: move audit-gradle.py run to fdroid build job
This test script was effectively not running anyway because nothing was cloning the git repo for it to run on. `fdroid build` will end up cloning the source, so it makes sense to run this script after that process.
This commit is contained in:
parent
1f62af11a4
commit
71950dfb67
1 changed files with 2 additions and 2 deletions
|
|
@ -29,14 +29,12 @@ lint:
|
|||
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
|
||||
if [ -n "$appid" ]; then
|
||||
export CHANGED="$CHANGED $appid";
|
||||
testcmd="git -C build clone `sed -En 's,^Repo\W +(https?://),\1u:p@,p' $f`";
|
||||
fi;
|
||||
done;
|
||||
set -x;
|
||||
apt-get install python3-colorama yamllint;
|
||||
for f in $files; do [[ $f == *'.yml' ]] && yamllint "$f"; done;
|
||||
./tools/check-git-repo-availability.py $files;
|
||||
./tools/audit-gradle.py $CHANGED;
|
||||
set +x;
|
||||
fi
|
||||
- export EXITVALUE=0
|
||||
|
|
@ -245,6 +243,8 @@ fdroid build:
|
|||
$fdroid publish --verbose $build;
|
||||
done
|
||||
|
||||
- ./tools/audit-gradle.py $CHANGED;
|
||||
|
||||
|
||||
# issuebot needs secrets to run, so it has to run under the 'fdroid'
|
||||
# group, therefore needs the trigger without secrets, there would be
|
||||
|
|
|
|||
Loading…
Reference in a new issue