Skip to content

Commit 5135389

Browse files
committed
stop using apt-spy2 to pick an alternative mirror, it's expensive and may result in picking a faulty mirror...
1 parent faa3e2a commit 5135389

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,9 @@ jobs:
4949

5050
- name: install OS & Python packages
5151
run: |
52-
# use apt-spy2 to select closest apt mirror,
53-
# which helps avoid connectivity issues in Azure;
54-
# see https://github.com/actions/virtual-environments/issues/675
55-
sudo gem install apt-spy2
56-
sudo apt-spy2 check
57-
sudo apt-spy2 fix --commit
58-
# after selecting a specific mirror, we need to run 'apt-get update'
59-
sudo apt-get update
52+
# disable apt-get update, we don't really need it,
53+
# and it does more harm than good (it's fairly expensive, and it results in flaky test runs)
54+
# sudo apt-get update
6055
# for modules tool
6156
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
6257
# fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082

0 commit comments

Comments
 (0)