chore: fixed pipelines #30
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 | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
app-pylint: | |
name: pylint (App) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add pylint annotator | |
uses: pr-annotators/[email protected] | |
- name: Run pylint | |
run: poetry run pylint src | |
app-flake8: | |
name: flake8 (App) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add flake8 annotator | |
uses: rbialon/[email protected] | |
- name: Run flake8 | |
run: poetry run flake8 src | |
app-mypy: | |
name: mypy (App) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add mypy annotator | |
uses: pr-annotators/[email protected] | |
- name: Run mypy | |
run: poetry run mypy src | |
tests-pylint: | |
name: pylint (Tests) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add pylint annotator | |
uses: pr-annotators/pylint-pr-annotator@main | |
- name: Run pylint | |
run: poetry run pylint tests | |
tests-flake8: | |
name: flake8 (Tests) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add pylint annotator | |
uses: rbialon/[email protected] | |
- name: Run pylint | |
run: poetry run flake8 tests | |
tests-mypy: | |
name: mypy (Tests) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/actions/setup-python | |
- name: Add mypy annotator | |
uses: pr-annotators/[email protected] | |
- name: Run mypy | |
run: poetry run mypy tests |