mirror of
https://github.com/Napsty/check_esxi_hardware.git
synced 2024-11-24 19:33:48 +01:00
Added Github actions for automated syntax validation
This commit is contained in:
parent
ff3228b804
commit
bcf607b2cb
18
.github/workflows/python2check.yml
vendored
Normal file
18
.github/workflows/python2check.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# @file python2check.yml
|
||||||
|
---
|
||||||
|
name: Python2 check
|
||||||
|
|
||||||
|
# Trigger the workflow on push or pull request
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
python2-help:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: '2.7'
|
||||||
|
- name: Launch script with --help
|
||||||
|
run: |
|
||||||
|
./check_esxi_hardware.py --help
|
18
.github/workflows/python3check.yml
vendored
Normal file
18
.github/workflows/python3check.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# @file python3check.yml
|
||||||
|
---
|
||||||
|
name: Python3 check
|
||||||
|
|
||||||
|
# Trigger the workflow on push or pull request
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
python3-help:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Launch script with --help
|
||||||
|
run: |
|
||||||
|
./check_esxi_hardware.py --help
|
Loading…
Reference in New Issue
Block a user