From bf8634b3ba03f344dd84c1a1107d57a96d5e6440 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 28 Aug 2023 15:59:06 +0200 Subject: [PATCH] GH Actions: actually run the tests on Windows PR 3982 added test run builds against Windows OS. I'm not sure if this ever worked, but it sure isn't working now. The environment is created, but the actual steps to run things are not doing anything due to the command not being understood by Windows. This commit fixes that and allows the tests to actually run on Windows. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e1a8107da6..55542f9c54f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,10 +101,10 @@ jobs: tools: none - name: Install dependencies with Composer - run: ./tools/composer update --no-ansi --no-interaction --no-progress + run: php ./tools/composer update --no-ansi --no-interaction --no-progress - name: Run tests with PHPUnit - run: ./phpunit --testsuite unit + run: php ./phpunit --testsuite unit end-to-end-tests: name: End-to-End Tests @@ -151,10 +151,10 @@ jobs: tools: none - name: Install dependencies with Composer - run: ./tools/composer update --no-ansi --no-interaction --no-progress + run: php ./tools/composer update --no-ansi --no-interaction --no-progress - name: Run tests with PHPUnit - run: ./phpunit --testsuite end-to-end + run: php ./phpunit --testsuite end-to-end code-coverage: name: Code Coverage