We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6bb57 commit fc75697Copy full SHA for fc75697
2 files changed
.gitattributes
@@ -3,3 +3,4 @@ test export-ignore
3
.gitattributes export-ignore
4
phpunit.xml* export-ignore
5
phpcs.xml export-ignore
6
+.github export-ignore
.github/workflows/check-pr.yml
@@ -0,0 +1,29 @@
1
+name: Check pull request
2
+on:
+ pull_request:
+ branches:
+ - '**.x'
+jobs:
7
+ testing:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ php: [7.2, 7.3, 7.4]
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Setup PHP with composer
17
+ uses: actions/setup-php@v2
18
+ with:
19
+ php-version: ${{ matrix.php }}
20
+ tools: composer
21
22
+ - name: Install dependencies
23
+ run: composer install
24
25
+ - name: Lint syntax
26
+ run: composer lint
27
28
+ - name: Run unit tests
29
+ run: composer test
0 commit comments