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 feb1774 commit 5277d57Copy full SHA for 5277d57
.github/workflows/php.yml
@@ -0,0 +1,20 @@
1
+name: PHP Composer
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v1
12
13
+ - name: Validate composer.json and composer.lock
14
+ run: composer validate
15
16
+ - name: Install dependencies
17
+ run: composer install --prefer-dist --no-progress --no-suggest
18
19
+ - name: Run test suite
20
+ run: composer run-script test
.gitlab-ci.yml
composer.json
@@ -26,5 +26,8 @@
26
"require-dev": {
27
"phpunit/phpunit": "^8",
28
"spatie/phpunit-watcher": "dev-master"
29
+ },
30
+ "scripts": {
31
+ "test": "phpunit --bootstrap vendor/autoload.php tests"
32
}
33
0 commit comments