Bug: put exception statement for contentread #12
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
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v2 | |
id: setup-python | |
with: | |
python-version: "3.10" | |
- name: Setup poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Install dependencies | |
run: poetry install | |
- name: Run black | |
if: always() | |
run: poetry run task black | |
- name: Run flake8 | |
if: always() | |
run: poetry run task flake8 | |
- name: Run pydocstyle | |
if: always() | |
run: poetry run task pydocstyle | |
- name: Run pylint | |
if: always() | |
run: poetry run task pylint | |
- name: Run Ruff | |
if: always() | |
run: poetry run task ruff | |
- name: Run mypy | |
if: always() | |
run: poetry run task mypy | |
- name: Lint writing | |
if: always() | |
uses: actionshub/markdownlint@main | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
id: setup-python | |
with: | |
python-version: "3.10" | |
- name: Setup poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Install dependencies | |
run: poetry install | |
- name: Execute tests | |
run: poetry run task test |