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 c859baa commit b5605a4Copy full SHA for b5605a4
.github/workflows/ci.yaml
@@ -0,0 +1,37 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ push:
9
+ branches:
10
+ - master
11
12
+jobs:
13
+ build-test:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout Code
17
+ uses: actions/checkout@v2
18
19
+ - name: Install composer and dependencies
20
+ uses: php-actions/composer@v6
21
22
+ - name: PHPUnit Tests
23
+ uses: php-actions/phpunit@v3
24
+ env:
25
+ XDEBUG_MODE: coverage
26
+ with:
27
+ bootstrap: vendor/autoload.php
28
+ configuration: phpunit.xml
29
+ php_extensions: xdebug
30
+ args: tests --coverage-clover ./coverage.xml
31
32
+ - name: Upload to Codecov
33
+ uses: codecov/codecov-action@v2
34
35
+ token: ${{ secrets.CODE_COV_TOKEN }}
36
+ files: ./coverage.xml
37
+ verbose: true
0 commit comments