diff --git a/.github/workflows/python_tests_linux.yml b/.github/workflows/python_tests_linux.yml index f1bc3a78..3fc2d136 100644 --- a/.github/workflows/python_tests_linux.yml +++ b/.github/workflows/python_tests_linux.yml @@ -105,7 +105,9 @@ jobs: #-------- CentOS Only Dependencies ---------------- - cfg: { os: centos } pkg_mgr: yum - conf_pkg: yum -y install epel-release && yum -y update + conf_pkg: > + sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* && + yum -y install epel-release && yum -y update os_deps: >- libX11-devel libXt-devel @@ -125,7 +127,6 @@ jobs: python3.8-dev - cfg: { os: centos, tag: 7 } tag_deps: >- - sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* && swig3 python-devel - cfg: { os: centos, tag: latest }