Skip to content

Restructure of Deployment Client for New Provider Field #12

Restructure of Deployment Client for New Provider Field

Restructure of Deployment Client for New Provider Field #12

Workflow file for this run

name: linting-and-tests
on:
pull_request:
branches:
- main
defaults:
run:
shell: bash -l {0}
jobs:
pep8:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup poetry
uses: ./.github/actions/poetry
- name: Run black
run: |
poetry run black --version
poetry run black --check multi_x_serverless --verbose
pylint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup poetry
uses: ./.github/actions/poetry
- name: Run pylint
run: |
poetry run pylint --version
poetry run pylint multi_x_serverless
pytest:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup poetry
uses: ./.github/actions/poetry
- name: Run tests
run: |
poetry run pytest --cache-clear --cov=multi_x_serverless multi_x_serverless/ > pytest-coverage.txt
- name: Comment coverage
uses: coroo/[email protected]
mypy:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup poetry
uses: ./.github/actions/poetry
- name: Run mypy
run: |
poetry run mypy --version
poetry run mypy multi_x_serverless
isort:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup poetry
uses: ./.github/actions/poetry
- name: Run isort
run: |
poetry run isort --version
poetry run isort multi_x_serverless --check --diff