We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b23f0a commit 969dafaCopy full SHA for 969dafa
1 file changed
.github/workflows/tests-mongodb.yml
@@ -0,0 +1,35 @@
1
+name: "Tests: MongoDB"
2
+
3
+on:
4
+ - pull_request
5
6
+jobs:
7
+ mongodb:
8
+ name: PHP ${{ matrix.php }}
9
+ runs-on: ubuntu-20.04
10
+ strategy:
11
+ matrix:
12
+ php:
13
+ - "7.4"
14
15
+ steps:
16
+ - name: Checkout Code
17
+ uses: actions/checkout@v2
18
19
+ - name: Setup PHP
20
+ uses: shivammathur/setup-php@v2
21
+ with:
22
+ php-version: ${{ matrix.php }}
23
+ extensions: xdebug
24
25
+ - name: Validate composer.json and composer.lock
26
+ run: composer validate
27
28
+ - name: Install dependencies
29
+ run: |
30
+ composer install --prefer-dist --no-progress
31
32
+ - name: Run PHPUnit tests
33
+ run: composer test
34
35
+# vim:ft=yaml:et:ts=2:sw=2
0 commit comments