1
0
mirror of https://github.com/Napsty/check_esxi_hardware.git synced 2024-11-22 10:23:49 +01:00

Remove python2 and pywbem 0.7.0 compatibility

This commit is contained in:
Napsty 2024-10-25 15:38:15 +02:00
parent bdea961ea0
commit d03a586ddc

View File

@ -19,3 +19,16 @@ jobs:
- name: Launch script with --help - name: Launch script with --help
run: | run: |
./check_esxi_hardware.py --help ./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