Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: Update testrunner to print error when missing required file #1402

Merged
merged 4 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Ping statistics server with test results
run: |
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo CI Matrix" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}

system-testing:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
- name: Ping statistics server with test results
run: |
cp build/junit.xml report.xml
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo PR Test" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}

- name: Upload coverage artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Ping statistics server with test results
run: |
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
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 Expand Up @@ -68,5 +68,5 @@ jobs:

- name: Ping statistics server with test results
run: |
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo Smoke Tests - Coverage" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}
4 changes: 2 additions & 2 deletions .github/workflows/test-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Ping statistics server with test results
run: |
cp build/junit.xml report.xml
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo PR Test" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}

test-matrix:
Expand All @@ -77,5 +77,5 @@ jobs:

- name: Ping statistics server with test results
run: |
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Monorepo PR Matrix" ${{ secrets.OPENANALYTICS_TOKEN }} ${{ github.ref_name }}
1 change: 1 addition & 0 deletions monorepo/scripts/ping-openanalytics-testrunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
}

if (! file_exists('report.xml')) {
echo "::error:: Must provide a Junit report file\n";
exit(404);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/framework/.github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ jobs:
- name: Ping statistics server with test results
run: |
cd hyde
curl https://github.com/raw/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
curl https://github.com/raw/hydephp/develop/6e9d17f31879f4ccda13a3fec4029c9663bccec0/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Framework CI Matrix" ${{ secrets.OPENANALYTICS_TOKEN }}
Loading