We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e17d9e commit 05f8c5cCopy full SHA for 05f8c5c
.github/workflows/ci.yml
@@ -0,0 +1,28 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches: [ "main" ]
5
+ pull_request:
6
7
+
8
+jobs:
9
+ PHPUnit:
10
+ name: PHPUnit (PHP ${{ matrix.php }})
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ php:
15
+ - "7.4"
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: shivammathur/setup-php@v2
19
+ with:
20
+ php-version: ${{ matrix.php }}
21
+ tools: phpunit:9, composer:v2
22
+ coverage: xdebug
23
+ - run: composer install
24
+ - run: vendor/bin/phpunit --coverage-clover=coverage.xml
25
26
+ - uses: codecov/codecov-action@v4
27
28
+ token: ${{ secrets.CODECOV_TOKEN }}
.github/workflows/php.yml
0 commit comments