diff --git a/.github/workflows/lesson-5-backend.yaml b/.github/workflows/lesson-5-backend.yaml index dd7d9b918..4bccfc681 100644 --- a/.github/workflows/lesson-5-backend.yaml +++ b/.github/workflows/lesson-5-backend.yaml @@ -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: @@ -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: