From 5135389c0fc11b22977c7af7f0146728de85f8bd Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Sat, 11 Apr 2020 17:23:18 +0200 Subject: [PATCH] stop using apt-spy2 to pick an alternative mirror, it's expensive and may result in picking a faulty mirror... --- .github/workflows/unit_tests.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 94dd61e29b..c905a6a342 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -49,14 +49,9 @@ jobs: - name: install OS & Python packages run: | - # use apt-spy2 to select closest apt mirror, - # which helps avoid connectivity issues in Azure; - # see https://github.com/actions/virtual-environments/issues/675 - sudo gem install apt-spy2 - sudo apt-spy2 check - sudo apt-spy2 fix --commit - # after selecting a specific mirror, we need to run 'apt-get update' - sudo apt-get update + # disable apt-get update, we don't really need it, + # and it does more harm than good (it's fairly expensive, and it results in flaky test runs) + # sudo apt-get update # for modules tool sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev # fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082