@@ -6,109 +6,16 @@ name: Python3 check
66on : [push, pull_request]
77
88jobs :
9- simple-output :
9+ python3-pywbem-latest :
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : Simple hello world
13- run : echo "Hello World"
14- # python3-pywbem-latest:
15- # runs-on: ubuntu-latest
16- # steps:
17- # - uses: actions/checkout@v1
18- # - uses: actions/setup-python@v1
19- # with:
20- # python-version: '3.8'
21- # - name: Install latest pywbem from pip
22- # run: |
23- # sudo apt-get install -qq -yy python3-pip
24- # pip3 install pywbem
25- # - name: Set environment PYTHONPATH
26- # run: |
27- # export PYTHONPATH=/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages
28- # - name: Verify python sys.path
29- # run: (echo "import sys"; echo "print(', '.join(sys.path))") | python
30- # - name: Launch script with --help
31- # run: |
32- # ./check_esxi_hardware.py --help
33- # python3-pywbem-08:
34- # runs-on: ubuntu-latest
35- # steps:
36- # - uses: actions/checkout@v1
37- # - uses: actions/setup-python@v1
38- # with:
39- # python-version: '3.x'
40- # - name: Install latest pywbem from pip
41- # run: |
42- # sudo apt-get install -qq -yy python3-pip
43- # pip3 install pywbem==0.8.4
44- # - name: Set environment PYTHONPATH
45- # run: |
46- # export PYTHONPATH=/opt/hostedtoolcache/Python
47- # - name: Launch script with --help
48- # run: |
49- # ./check_esxi_hardware.py --help
50- # python3-pywbem-012:
51- # runs-on: ubuntu-latest
52- # steps:
53- # - uses: actions/checkout@v1
54- # - uses: actions/setup-python@v1
55- # with:
56- # python-version: '3.x'
57- # - name: Install latest pywbem from pip
58- # run: |
59- # sudo apt-get install -qq -yy python3-pip
60- # pip3 install pywbem==0.12.6
61- # - name: Set environment PYTHONPATH
62- # run: |
63- # export PYTHONPATH=/opt/hostedtoolcache/Python
64- # - name: Launch script with --help
65- # run: |
66- # ./check_esxi_hardware.py --help
67- # python3-pywbem-013:
68- # runs-on: ubuntu-latest
69- # steps:
70- # - uses: actions/checkout@v1
71- # - uses: actions/setup-python@v1
72- # with:
73- # python-version: '3.x'
74- # - name: Install latest pywbem from pip
75- # run: |
76- # sudo apt-get install -qq -yy python3-pip
77- # pip3 install pywbem==0.13.1
78- # - name: Set environment PYTHONPATH
79- # run: |
80- # export PYTHONPATH=/opt/hostedtoolcache/Python
81- # - name: Launch script with --help
82- # run: |
83- # ./check_esxi_hardware.py --help
84- # python3-pywbem-014:
85- # runs-on: ubuntu-latest
86- # steps:
87- # - uses: actions/checkout@v1
88- # - uses: actions/setup-python@v1
89- # with:
90- # python-version: '3.x'
91- # - name: Install latest pywbem from pip
92- # run: |
93- # sudo apt-get install -qq -yy python3-pip
94- # pip3 install pywbem==0.14.6
95- # - name: Set environment PYTHONPATH
96- # run: |
97- # export PYTHONPATH=/opt/hostedtoolcache/Python
98- # - name: Launch script with --help
99- # run: |
100- # ./check_esxi_hardware.py --help
101- # find-pywbem:
102- # runs-on: ubuntu-latest
103- # steps:
104- # - uses: actions/checkout@v1
105- # - uses: actions/setup-python@v1
106- # with:
107- # python-version: '3.x'
108- # - name: Install latest pywbem from pip
109- # run: |
110- # sudo apt-get install -qq -yy python-pip
111- # pip install pywbem
112- # - name: Find pywbem module
113- # run: |
114- # find / -name 'pywbem-*'
12+ - uses : actions/checkout@v4
13+ - name : Install latest pywbem from pip
14+ run : |
15+ sudo apt-get install -qq -yy python3 python3-pip
16+ pip3 install pywbem
17+ - name : Verify python sys.path
18+ run : (echo "import sys"; echo "print(', '.join(sys.path))") | python3
19+ - name : Launch script with --help
20+ run : |
21+ ./check_esxi_hardware.py --help
0 commit comments