Add canonical steps to fix a flake in acceptance tests. (#485) #961
This file contains hidden or 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 Check | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| markdown_linter: | |
| name: Run markdown linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v3 | |
| - name: Lint markdown files | |
| run: | | |
| python scripts/linter.py | |
| pylint_linter: | |
| name: Run pylint linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v3 | |
| - name: Lint python files | |
| run: | | |
| pip install pylint | |
| pylint **/*.py |