adds first action to test #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Code for PEP8 Compliance | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # Specify your Python version | |
- name: Install flake8 | |
run: | | |
pip install flake8 | |
- name: Run flake8 for PEP8 compliance on the tests | |
run: flake8 ./tests | |
- name: Run flake8 for PEP8 compliance on the redfishaggregator | |
run: flake8 ./redfishaggregator |