Skip to content

Bug Fix: terminate when error is encountered #1379

Bug Fix: terminate when error is encountered

Bug Fix: terminate when error is encountered #1379

Workflow file for this run

name: Check
on:
- push
- pull_request
jobs:
linter:
name: linter
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11" # minimum supported lang version
- name: Install dependencies
run: python -m pip install tox
- name: Run
run: tox -e linter
mypy:
name: mypy
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11" # minimum supported lang version
- name: Install dependencies
run: python -m pip install tox
- name: Check MyPy
run: tox -e mypy
pkglint:
name: pkglint
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11" # minimum supported lang version
- name: Install dependencies
run: python -m pip install tox
- name: Run
run: tox -e pkglint
markdownlint:
# https://github.com/marketplace/actions/markdown-lint
name: markdownlint
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: articulate/[email protected]
with:
config: .markdownlint-config.yaml
# files: 'docs/**/*.md'
# ignore: node_modules
# version: 0.28.1
docs:
name: readthedocs
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11" # minimum supported lang version
- name: Install dependencies
run: python -m pip install tox
- name: Run
run: tox -e docs