Skip to content

Merge pull request #94 from CodethinkLabs/bobclough/packaging-push #295

Merge pull request #94 from CodethinkLabs/bobclough/packaging-push

Merge pull request #94 from CodethinkLabs/bobclough/packaging-push #295

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/[email protected]