From d03a586ddc4dba6da2e24a9bcc403353097e2d04 Mon Sep 17 00:00:00 2001 From: Napsty Date: Fri, 25 Oct 2024 15:38:15 +0200 Subject: [PATCH] Remove python2 and pywbem 0.7.0 compatibility --- .github/workflows/python3check.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/python3check.yml b/.github/workflows/python3check.yml index 2bbd420..637f518 100644 --- a/.github/workflows/python3check.yml +++ b/.github/workflows/python3check.yml @@ -19,3 +19,16 @@ jobs: - name: Launch script with --help run: | ./check_esxi_hardware.py --help + python3-pywbem-0.8.0: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install latest pywbem from pip + run: | + sudo apt-get install -qq -yy python3 python3-pip + pip3 install pywbem==0.8.0 + - name: Verify python sys.path + run: (echo "import sys"; echo "print(', '.join(sys.path))") | python3 + - name: Launch script with --help + run: | + ./check_esxi_hardware.py --help