File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ tests :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ' 8.4'
20+ extensions : mbstring, dom, fileinfo
21+ coverage : none
22+
23+ - name : Validate composer.json and composer.lock
24+ run : composer validate --strict
25+
26+ - name : Cache Composer packages
27+ id : composer-cache
28+ uses : actions/cache@v3
29+ with :
30+ path : vendor
31+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
32+ restore-keys : |
33+ ${{ runner.os }}-php-
34+
35+ - name : Install dependencies
36+ run : composer install --prefer-dist --no-progress
37+
38+ - name : Run test suite
39+ run : composer test
You can’t perform that action at this time.
0 commit comments