[fix] br_cvm_fi #2314
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: Lint Python | |
on: | |
pull_request: | |
jobs: | |
docker_lint: | |
name: Lint Python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8.x" | |
- name: Set up Poetry and upgrade pip | |
run: | | |
pip install -U pip poetry | |
- name: Install flows | |
run: | | |
pip install --prefer-binary . | |
- name: Lint flows | |
uses: gabriel-milan/action-pylint@v1 | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
path: "pipelines/" | |
fail: true | |
pr-message: true | |
- name: Install Pytest | |
run: | | |
pip install pytest | |
- name: Lint tests | |
uses: gabriel-milan/action-pylint@v1 | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
path: "tests/" | |
fail: true | |
pr-message: true |