We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceef7e6 commit 69bdaddCopy full SHA for 69bdadd
1 file changed
.github/workflows/ci.yml
@@ -7,11 +7,24 @@ on:
7
branches: [main]
8
9
jobs:
10
- tests:
+ unit-testing:
11
runs-on: ubuntu-latest
12
13
steps:
14
- - name: Checkout
15
- uses: actions/checkout@v3
16
- - name: Test
17
- run: ./vendor/bin/phpunit
+ - uses: actions/checkout@v3
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
18
+ php-version: 8.3
19
+ extensions: xdebug
20
+ tools: composer:2
21
+ - name: Setup problem matchers for PHP
22
+ run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
23
+ - name: Setup problem matchers for PHPUnit
24
+ run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
25
+ - name: Composer
26
+ run: composer install
27
+ - name: Unit Testing
28
+ env:
29
+ XDEBUG_MODE: coverage
30
+ run: ./tools/phpunit/vendor/bin/phpunit
0 commit comments