Skip to content

Commit

Permalink
Added triggering of Gateway drivers' CI workflows when updating the P…
Browse files Browse the repository at this point in the history
…ayment module
  • Loading branch information
fulopattila122 committed Apr 23, 2024
1 parent ba2b1fb commit 5e389d7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ jobs:
run: mkdir -p database && touch database/database.sqlite
- name: Run Tests
run: php vendor/bin/phpunit --testdox
trigger-drivers:
runs-on: ubuntu-latest
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/actions/workflows/tests.yml/dispatches \
-d '{"event_type":"run_tests"}'

0 comments on commit 5e389d7

Please sign in to comment.