We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 600801b + 2b6e3d7 commit 2f79b92Copy full SHA for 2f79b92
2 files changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: ["master"]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Setup PHP
19
+ uses: shivammathur/setup-php@v2
20
+ with:
21
+ php-version: '7.4'
22
23
+ - uses: actions/checkout@v3
24
25
+ - name: Install dependencies
26
+ run: composer install --prefer-dist --no-progress
27
28
+ - name: Run test suite
29
+ run: composer run-script test
30
+ env:
31
+ CASPER_PHP_SDK_TEST_NODE_URL: "136.243.187.84:7777"
composer.json
@@ -28,5 +28,8 @@
},
"require-dev": {
"phpunit/phpunit": "^9"
+ },
32
+ "scripts": {
33
+ "test": "php vendor/bin/phpunit tests"
34
}
35
0 commit comments