Skip to content

Commit

Permalink
GH Actions: actually run the tests on Windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrfnl authored and sebastianbergmann committed Sep 4, 2023
1 parent e4c3197 commit bf8634b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf8634b

Please sign in to comment.