Skip to content

Commit

Permalink
Repleace fussyfox with GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Nov 5, 2022
1 parent e62b8ea commit cc834af
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .fussyfox.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ on:

jobs:

lint:
runs-on: ubuntu-latest
strategy:
matrix:
lint-command:
- bandit -r . -x ./tests
- black --check --diff .
- flake8 .
- isort --check-only --diff .
- pydocstyle .
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: 'pip'
cache-dependency-path: 'linter-requirements.txt'
- run: python -m pip install -r linter-requirements.txt
- run: ${{ matrix.lint-command }}

dist:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -41,6 +61,7 @@ jobs:

PyTest:
needs:
- lint
- standardjs
strategy:
matrix:
Expand All @@ -65,6 +86,7 @@ jobs:

Selenium:
needs:
- lint
- standardjs
strategy:
matrix:
Expand Down
5 changes: 5 additions & 0 deletions linter-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bandit==1.7.4
black==22.10.0
flake8==5.0.4
isort==5.10.1
pydocstyle[toml]==6.1.1

0 comments on commit cc834af

Please sign in to comment.