Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/lesson-5-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ on:
branches:
- lesson-5
jobs:
unit_test:
security_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
name: Run pycharm security test
steps:
- uses: actions/checkout@v7.0.1
- name: Run pycharm security test
uses: tonybaloney/pycharm-security@1.25.1
unit_test:
needs: [security_test]
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -24,7 +35,7 @@ jobs:
run: |
coverage run -m --source=./hangry_api pytest
coverage report
deploy:
deploy:
needs: [unit_test]
runs-on: ubuntu-latest
defaults:
Expand Down