File tree Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1+ name : " Integrate"
2+
3+ on :
4+ push :
5+ branches :
6+ - " master"
7+ pull_request : null
8+
9+ permissions :
10+ contents : " read"
11+
12+ jobs :
13+ test :
14+ runs-on : " ubuntu-latest"
15+
16+ strategy :
17+ matrix :
18+ php-version :
19+ - " 7.4"
20+ - " 8.0"
21+ - " 8.1"
22+ - " 8.2"
23+ - " 8.3"
24+ - " 8.4"
25+
26+ steps :
27+ - name : " Checkout repository"
28+ uses : " actions/checkout@v4"
29+
30+ - name : " Set up PHP"
31+ uses : " shivammathur/setup-php@v2"
32+ with :
33+ coverage : " none"
34+ php-version : " ${{ matrix.php-version }}"
35+
36+ - name : " Install dependencies"
37+ run : " composer install --no-interaction --no-progress --prefer-dist"
38+
39+ - run : " composer run test"
Original file line number Diff line number Diff line change 2626 }
2727 },
2828 "scripts" : {
29- "cleanup" : " git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf"
29+ "cleanup" : " git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf" ,
30+ "test" : " php -r \" require './vendor/php-stubs/wordpress-stubs/wordpress-stubs.php'; require 'gravity-forms-stubs.php';\" "
3031 },
3132 "scripts-descriptions" : {
3233 "cleanup" : " Remove all ignored files."
Original file line number Diff line number Diff line change @@ -29,6 +29,3 @@ sed -i -e 's#^\(\s*function \)\(rgar(.*\)$#\1__\2#' source/gravityforms/xml.php
2929
3030# Remove CR characters
3131dos2unix -k " $FILE "
32-
33- # Mini CI
34- php -r ' require "../wordpress-stubs/wordpress-stubs.php"; require "gravity-forms-stubs.php";'
You can’t perform that action at this time.
0 commit comments