From 784ac07ee158d2d2c136801ba931062bad1797ce Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 27 Oct 2023 19:38:42 +0200 Subject: [PATCH 1/2] Merge changes from https://github.com/hydephp/develop/pull/1400 Manual merge, as token does not have permission to edit workflows. --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fe329025..510d55e2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -61,5 +61,5 @@ jobs: - name: Ping statistics server with test results run: | cd hyde - curl https://gist.githubusercontent.com/caendesilva/d76fc6d73cb488863a8f6fda18a7c8c4/raw/1d22747e5064b40e4da05e7666d1ab1d2766de7a/ping-openanalytics-testrunner.php -o ping.php + curl https://raw.githubusercontent.com/hydephp/develop/cfbf8fb97505359266f849edef4757ae76a922b5/monorepo/scripts/ping-openanalytics-testrunner.php -o ping.php php ping.php "Framework CI Matrix" ${{ secrets.OPENANALYTICS_TOKEN }} From d3337041c3e9873be573ecd4948f69d95d1f5ec4 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 27 Oct 2023 20:17:38 +0200 Subject: [PATCH 2/2] Run tests with Junit reporting --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 510d55e2..49844181 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -54,7 +54,7 @@ jobs: - name: Set environment to testing run: cd hyde && echo "ENV=testing" > .env - name: Execute tests (Unit and Feature tests) via PHPUnit/Pest - run: cd hyde && vendor/bin/pest + run: cd hyde && vendor/bin/pest --log-junit report.xml env: ENV: testing