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:40:00 +02:00
parent 0149512f50
commit aaaa2fc1e3

View File

@ -19,14 +19,14 @@ 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: python3-pywbem-0_8_1:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install latest pywbem from pip - name: Install latest pywbem from pip
run: | run: |
sudo apt-get install -qq -yy python3 python3-pip sudo apt-get install -qq -yy python3 python3-pip
pip3 install pywbem==0.8.0 pip3 install pywbem==0.8.1
- name: Verify python sys.path - name: Verify python sys.path
run: (echo "import sys"; echo "print(', '.join(sys.path))") | python3 run: (echo "import sys"; echo "print(', '.join(sys.path))") | python3
- name: Launch script with --help - name: Launch script with --help