1
0
mirror of https://github.com/Napsty/check_esxi_hardware.git synced 2025-01-08 13:13:48 +01:00
check_esxi_hardware/.github/workflows/python3check.yml
Claudio Kuenzler 29b32b785e
Remove python2 and pywbem 0.7.0 compatibility (#73)
Remove python2 and pywbem 0.7.0 compatibility
2024-11-29 08:20:00 +01:00

22 lines
567 B
YAML

# @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