Skip to content

Commit

Permalink
Add running unit-tests on GHA
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Zamroni <[email protected]>
  • Loading branch information
matriphe committed Oct 7, 2023
1 parent d7f7bf3 commit 8db70e0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,26 @@ To run the unit tests, execute this following command.
vendor/bin/phpunit --group unit
```

On the GitHub Actions, the tests run on the respective operating system, which are `ubuntu`, `macos`, and `windows`.

To run the **Ubuntu** specific test on Ubuntu, run this following command.

```shell
vendor/bin/phpunit --group ubuntu
```

To run the **MacOS** specific test on MacOS, run this following command.

```shell
vendor/bin/phpunit --group macos
```

To run the **Windows** specific test on Windows, run this following command.

```shell
vendor/bin/phpunit --group windows
```

## License

Please see [License File](LICENSE.md) for more information.

0 comments on commit 8db70e0

Please sign in to comment.