Skip to content

Remove python2 and pywbem 0.7.0 compatibility #58

Remove python2 and pywbem 0.7.0 compatibility

Remove python2 and pywbem 0.7.0 compatibility #58

Workflow file for this run

# @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.0:

Check failure on line 22 in .github/workflows/python3check.yml

View workflow run for this annotation

GitHub Actions / Python3 check

Invalid workflow file

The workflow is not valid. .github/workflows/python3check.yml (Line: 22, Col: 3): The identifier 'python3-pywbem-0.8.0' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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