Skip to content

Commit

Permalink
change workflow to use make
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyR committed Jun 6, 2024
1 parent 6c0f4fc commit fcb6015
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ jobs:
poetry install
- name: Linting
run: |
poetry run isort .
poetry run black .
poetry run flake8 . --extend-ignore=D,E501,W601 --extend-exclude=docs/ --statistics --count
make lint
- name: Security
run: poetry run bandit -c pyproject.toml -r .
run: make bandit
- name: Testing
run: poetry run python ./runtests.py
run: make tests
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,8 @@ lint:
poetry run isort .
poetry run flake8 . --extend-ignore=D,E501,W601 --extend-exclude=docs/,**/migrations/*,**/south_migrations/*,tests/ --statistics --count

bandit:
poetry run bandit -c pyproject.toml -r .

test:
poetry run python ./runtests.py

0 comments on commit fcb6015

Please sign in to comment.