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 7396a12 commit dc82e1dCopy full SHA for dc82e1d
.github/workflows/check.yml
@@ -0,0 +1,32 @@
1
+name: PHP SDK Tests
2
+
3
+on:
4
+ pull_request_target:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
+ with:
15
+ ref: ${{ github.event.pull_request.head.sha }}
16
17
+ - name: Setup PHP
18
+ uses: shivammathur/setup-php@v2
19
20
+ php-version: '8.1'
21
+ extensions: mbstring, intl
22
+ coverage: none
23
+ tools: composer:v2
24
25
+ - name: Validate composer.json
26
+ run: composer validate --strict
27
28
+ - name: Install dependencies
29
+ run: composer install --prefer-dist
30
31
+ - name: Run tests
32
+ run: vendor/bin/phpunit tests/
0 commit comments