From 2976fd9a41d31a6af7d6ebd5e42ca4977bf63da8 Mon Sep 17 00:00:00 2001 From: Aref Shafaei Date: Fri, 29 Mar 2024 11:30:28 -0700 Subject: [PATCH] Use Ubuntu 22 for unit test workflow --- .github/workflows/unit-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6b9f3869..be31f27e 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -5,7 +5,7 @@ on: [push] jobs: install-and-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PYTHONWARNINGS: ignore:Unverified HTTPS request timeout-minutes: 15 @@ -35,7 +35,7 @@ jobs: sudo apt-get install -y python3-setuptools python3-ply sudo python3 --version sudo pip3 --version - sudo su -c 'echo /usr/lib/python3.8/site-packages > /usr/local/lib/python3.8/dist-packages/sys-site-packages.pth' + sudo su -c 'echo /usr/lib/python3.10/site-packages > /usr/local/lib/python3.10/dist-packages/sys-site-packages.pth' sudo su -c 'python3 -c "import site;print(site.PREFIXES);"' sudo su -c 'python3 -c "import site;print(site.getsitepackages())"' : # the line below will make sure pyopenssl and cryptography have compatible versions