Skip to content

Commit

Permalink
add linting step
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Psotta committed Feb 4, 2021
1 parent 06ec5e3 commit f2cefe4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci-tests.yml
Expand Up @@ -8,7 +8,26 @@ on:
- master

jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install lint dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit pycodestyle
- name: Install and run pre-commit
uses: pre-commit/action@v2.0.0
with:
extra_args: --all-files
test:
needs:
- lint
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit f2cefe4

Please sign in to comment.