Skip to content

Commit 958f041

Browse files
committed
wrap up
1 parent 38762df commit 958f041

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

.github/workflows/test-application.yaml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,25 @@ jobs:
2121

2222
matrix:
2323
include:
24+
- php-version: '8.0'
25+
dependencies: lowest
26+
behat-suite: standalone
2427

28+
- php-version: '8.0'
29+
dependencies: lowest
30+
behat-suite: embedded
31+
32+
- php-version: '8.0'
33+
dependencies: lowest
34+
behat-suite: cli
35+
36+
- php-version: '8.1'
37+
dependencies: highest
38+
behat-suite: standalone
39+
40+
- php-version: '8.1'
41+
dependencies: highest
42+
behat-suite: embedded
2543

2644
- php-version: '8.1'
2745
dependencies: highest
@@ -31,6 +49,13 @@ jobs:
3149
- name: Checkout project
3250
uses: actions/checkout@v2
3351

52+
# default java installation not able to run jackrabbit. use same as jackalope-jackrabbit action
53+
- name: Install and configure Java
54+
uses: actions/setup-java@v3
55+
with:
56+
distribution: temurin
57+
java-version: '8'
58+
3459
- name: Install and configure PHP
3560
uses: shivammathur/setup-php@v2
3661
with:
@@ -43,13 +68,16 @@ jobs:
4368
dependency-versions: ${{ matrix.dependencies }}
4469
composer-options: ${{ matrix.composer-options }}
4570

71+
- name: Cache Jackrabbit
72+
id: cache-jackrabbit
73+
uses: actions/cache@v3
74+
with:
75+
path: vendor/jackalope/jackalope-jackrabbit/bin/jackrabbit-standalone-*
76+
key: jackrabbit
77+
4678
- name: Start Jackrabbit
4779
run: |
48-
wget -nv http://archive.apache.org/dist/jackrabbit/2.21.10/jackrabbit-standalone-2.21.10.jar
49-
zipinfo jackrabbit-standalone-2.21.10.jar | wc -l
50-
java -version
51-
java -jar jackrabbit-standalone-2.21.10.jar
52-
# JACKRABBIT_VERSION=2.21.10 tests/bin/travis_jackrabbit.sh || java -jar ./vendor/jackalope/jackalope-jackrabbit/bin/jackrabbit-standalone-2.21.10.jar
80+
JACKRABBIT_VERSION=2.21.10 tests/bin/travis_jackrabbit.sh
5381
5482
- name: Execute test cases
5583
run: |

0 commit comments

Comments
 (0)