This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
Add "CONTRIBUTING.md" with notes about Pull Requests #109
Workflow file for this run
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: Linting Salt-Toaster | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
- name: Install requirements | |
run: pip install -r requirements.txt --exists-action w --upgrade | |
- name: Install additional requirements | |
run: pip install pytest pylint pytest-factoryboy salt beautifulsoup4 | |
- name: Linting salt-toaster | |
run: pylint --errors-only tests/ utils.py config.py | |
- name: Linting salt-toaster image generator | |
working-directory: images | |
run: pylint --errors-only utils.py generate.py build.py docker/bin/lastchangelog |