1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Merge branch 'fix-ci-pycountry' into 'master'

gitlab-ci: include pycountry in all master-only jobs

See merge request fdroid/fdroidserver!1428
This commit is contained in:
Hans-Christoph Steiner 2024-01-10 17:46:53 +00:00
commit 50aa35772b

View File

@ -100,6 +100,7 @@ debian_testing:
gnupg gnupg
ipfs-cid ipfs-cid
python3-defusedxml python3-defusedxml
python3-pycountry
python3-setuptools python3-setuptools
sdkmanager sdkmanager
- python3 -c 'import fdroidserver' - python3 -c 'import fdroidserver'
@ -123,7 +124,7 @@ ubuntu_lts_ppa:
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list - echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
- apt-get update - apt-get update
- apt-get dist-upgrade - apt-get dist-upgrade
- apt-get install --install-recommends dexdump fdroidserver git python3-setuptools sdkmanager - apt-get install --install-recommends dexdump fdroidserver git python3-pycountry python3-setuptools sdkmanager
# Test things work with a default branch other than 'master' # Test things work with a default branch other than 'master'
- git config --global init.defaultBranch thisisnotmasterormain - git config --global init.defaultBranch thisisnotmasterormain
@ -291,6 +292,7 @@ fedora_latest:
python3-babel python3-babel
python3-matplotlib python3-matplotlib
python3-pip python3-pip
python3-pycountry
rsync rsync
which which
- $pip install sdkmanager - $pip install sdkmanager
@ -347,6 +349,9 @@ macOS:
- /bin/bash --version - /bin/bash --version
- /bin/bash -n gradlew-fdroid tests/run-tests - /bin/bash -n gradlew-fdroid tests/run-tests
# TODO remove the packages below once they are included in the Homebrew package
- $(brew --prefix fdroidserver)/libexec/bin/python3 -m pip install pycountry
# test fdroidserver from git with current package's dependencies # test fdroidserver from git with current package's dependencies
- fdroid="$(brew --prefix fdroidserver)/libexec/bin/python3 $PWD/fdroid" ./tests/run-tests - fdroid="$(brew --prefix fdroidserver)/libexec/bin/python3 $PWD/fdroid" ./tests/run-tests