Skip to content

Commit

Permalink
Ping server only on step success
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 22, 2024
1 parent b729277 commit b9fd9b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: vendor/bin/pest --stop-on-failure --log-junit report.xml

- name: Ping statistics server with test results
if: steps.smoke-tests.outcome == 'success'
run: |
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo Smoke Tests" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}
Expand Down

0 comments on commit b9fd9b7

Please sign in to comment.