ci: use HTTPS Debian sources and reject incomplete package indexes
Core regression / Python core and release configuration (push) Failing after 36s
Core regression / JavaScript syntax (push) Successful in 2s
Core regression / Python core and release configuration (pull_request) Failing after 37s
Core regression / JavaScript syntax (pull_request) Successful in 3s
Core regression / Python core and release configuration (push) Failing after 36s
Core regression / JavaScript syntax (push) Successful in 2s
Core regression / Python core and release configuration (pull_request) Failing after 37s
Core regression / JavaScript syntax (pull_request) Successful in 3s
This commit is contained in:
1 parent
f12ddaddae
commit
b3f92e0206
1 file changed
+6
-2
@@ -23,8 +23,12 @@ jobs:
|
||||
git checkout --detach FETCH_HEAD
|
||||
- name: Install runner Python and test dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3 python3-pytest python3-openpyxl
|
||||
for apt_source in /etc/apt/sources.list /etc/apt/sources.list.d/*.sources; do
|
||||
[ -f "$apt_source" ] || continue
|
||||
sed -i 's|http://deb.debian.org|https://deb.debian.org|g' "$apt_source"
|
||||
done
|
||||
apt-get -o Acquire::Retries=2 -o APT::Update::Error-Mode=any update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -o Acquire::Retries=2 install -y --no-install-recommends python3 python3-pytest python3-openpyxl
|
||||
python3 --version
|
||||
- name: Compile application and build helpers
|
||||
run: python3 -m compileall -q src packaging tools
|
||||
|
||||
Reference in new issue
Block a user