Remove python2 and pywbem 0.7.0 compatibility #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @file python3check.yml | |
--- | |
name: Python3 check | |
# Trigger the workflow on push or pull request | |
on: [push, pull_request] | |
jobs: | |
python3-pywbem-latest: | |
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 | |
- 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 | |
python3-pywbem-0_8_1: | |
runs-on: ubuntu-18.04 | |
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.1 | |
- 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 |