File tree Expand file tree Collapse file tree 2 files changed +51
-23
lines changed Expand file tree Collapse file tree 2 files changed +51
-23
lines changed Original file line number Diff line number Diff line change 1+ name : " Continuous Integration"
2+
3+ on :
4+ pull_request : null
5+
6+ env :
7+ MONGODB_SERVER : mongodb://127.0.0.1:27017
8+
9+ jobs :
10+ phpunit :
11+ name : " PHPUnit"
12+ runs-on : " ubuntu-20.04"
13+
14+ services :
15+ mongo :
16+ image : mongo
17+ ports :
18+ - 27017:27017
19+
20+ strategy :
21+ matrix :
22+ php-version :
23+ - " 7.2"
24+ - " 7.3"
25+ - " 7.4"
26+ - " 8.0"
27+ deps :
28+ - " highest"
29+ include :
30+ - deps : " lowest"
31+ php-version : " 7.2"
32+
33+ steps :
34+ - name : " Checkout"
35+ uses : " actions/checkout@v2"
36+ with :
37+ fetch-depth : 2
38+
39+ - name : " Install PHP"
40+ uses : " shivammathur/setup-php@v2"
41+ with :
42+ php-version : " ${{ matrix.php-version }}"
43+ extensions : mongodb
44+
45+ - name : " Install dependencies with Composer"
46+ uses : " ramsey/composer-install@v1"
47+ with :
48+ dependency-versions : " ${{ matrix.deps }}"
49+
50+ - name : " Run PHPUnit"
51+ run : " bin/phpunit -c tests"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments