1
0
mirror of https://github.com/Napsty/check_esxi_hardware.git synced 2024-11-22 02:13:46 +01:00

Added Github actions for automated syntax validation

This commit is contained in:
Claudio Kuenzler 2019-11-26 07:45:32 +01:00
parent ff3228b804
commit bcf607b2cb
2 changed files with 36 additions and 0 deletions

18
.github/workflows/python2check.yml vendored Normal file
View 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
View 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