Skip to content

ci: deploy documentation only on tag #309

ci: deploy documentation only on tag

ci: deploy documentation only on tag #309

Workflow file for this run

name: Run Linters
on:
- push
- pull_request
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# checkout full tree
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
- name: Analysing the code with pylint
run: |
pytest --pylint
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# checkout full tree
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
- uses: pre-commit/[email protected]