Skip to content

pypi: move from pushing a test release every MR to pushing only on tag #298

pypi: move from pushing a test release every MR to pushing only on tag

pypi: move from pushing a test release every MR to pushing only on tag #298

Workflow file for this run

name: Run Linters
on: [push]
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/action@v3.0.0