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 1b28323 commit 0003cdcCopy full SHA for 0003cdc
.github/workflows/php.yml
@@ -0,0 +1,27 @@
1
+name: PHP Composer
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Validate composer.json and composer.lock
18
+ run: composer validate
19
20
+ - name: Install dependencies
21
+ run: composer install --prefer-dist --no-progress --no-suggest
22
23
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
24
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
25
26
+ - name: Run test suite
27
+ run: composer test -- --coverage-clover=coverage.clover
0 commit comments