Skip to content

Commit

Permalink
パスワード変更のテストを workflow に追加
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Feb 24, 2022
1 parent b65e2d2 commit dfa9ae9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/penetration-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Penetration testing for EC-CUBE
on:
push:
paths:
- '*'
pull_request:
paths:
- '**'
- '!*.md'
schedule:
- cron: '0 15 * * 1'

Expand All @@ -15,6 +22,7 @@ jobs:
- 'test/front_login/contact.test.ts'
- 'test/front_guest/contact.test.ts'
- 'test/admin/order_mail.test.ts'
- 'test/admin/change_password.test.ts'

steps:
- name: Checkout
Expand All @@ -38,6 +46,12 @@ jobs:
yarn install
yarn run playwright install --with-deps chromium
yarn playwright install-deps chromium
- name: Apply patch to change_password
if: matrix.group == 'test/admin/change_password.test.ts'
working-directory: zap/selenium/ci/TypeScript
run: git am patches/0001-Member.patch

- name: Penetration testing
working-directory: zap/selenium/ci/TypeScript
env:
Expand Down

0 comments on commit dfa9ae9

Please sign in to comment.