We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e8b7b4 + 3490deb commit 478a66aCopy full SHA for 478a66a
1 file changed
.github/workflows/php.yml
@@ -0,0 +1,24 @@
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
+ - uses: docker://phpearth/php:7.4-cli
13
14
+ - name: Validate composer.json and composer.lock
15
+ run: composer validate
16
17
+ - name: Install dependencies
18
+ run: composer install --prefer-dist --no-progress --no-suggest
19
20
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
21
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
22
23
+ - name: Run test suite
24
+ run: ./vendor/bin/phpunit
0 commit comments