Skip to content

Commit

Permalink
Added all payment gateway drivers to the trigger tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Apr 23, 2024
1 parent 9b7573c commit b8f584d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Payment/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,17 @@ jobs:
run: php vendor/bin/phpunit --testdox
trigger-drivers:
runs-on: ubuntu-latest
name: Trigger ${{ matrix.driver }} tests
strategy:
matrix:
driver: ['stripe', 'paypal', 'braintree', 'mollie', 'netopia', 'euplatesc', 'simplepay', 'adyen']
steps:
- name: Netopia
run: |
curl \
-X POST \
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/vanilophp/netopia/dispatches \
https://api.github.com/repos/vanilophp/${{ matrix.driver }}/dispatches \
-d '{"event_type":"run_tests"}'

0 comments on commit b8f584d

Please sign in to comment.