File tree Expand file tree Collapse file tree 1 file changed +30
-8
lines changed Expand file tree Collapse file tree 1 file changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,47 @@ jobs:
21
21
os : [ubuntu-latest]
22
22
runs-on : ${{ matrix.os }}
23
23
steps :
24
+ - name : Get Docker Images
25
+ shell : bash
26
+ run : |
27
+ docker pull gcr.io/distroless/java:11
28
+ uname -a
29
+
30
+ - name : Set up JDK
31
+ uses : actions/setup-java@v3
32
+ with :
33
+ java-version : ' 11'
34
+ distribution : ' zulu'
35
+
24
36
- uses : actions/checkout@v3
25
37
- uses : actions/setup-python@v4
26
38
with :
27
39
python-version : ${{ matrix.python-version }}
40
+
41
+ - name : Cache Maven packages
42
+ uses : actions/cache@v3
43
+ with :
44
+ path : ~/.m2
45
+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
46
+ restore-keys : ${{ runner.os }}-m2
47
+
28
48
- name : Install Poetry
29
49
shell : bash
30
50
run : |
31
51
pip install poetry==${{ matrix.poetry-version }}
52
+
32
53
- name : Install Dependencies
33
54
run : python -m poetry install
55
+
34
56
- name : Configure Validation
35
57
run : python -m poetry run make validate-setup
58
+
36
59
- name : Validate Sources
37
60
run : python -m poetry run make validate
38
- - name : Start Container
39
- run : python -m poetry run bin/docker-utils.sh -u
40
- - name : Wait for Container Start
41
- run : sleep 30
42
- - name : Run Tests
43
- run : python -m poetry run make test
44
- - name : Stop Container
45
- run : python -m poetry run bin/docker-utils.sh -d
61
+
62
+ - name : Run test
63
+ shell : bash
64
+ run : |
65
+ python -m poetry run \
66
+ COHERENCE_VERSION=22.06.2 \
67
+ make clean test-cluster-shutdown remove-app-images build-test-images test-cluster-startup just-wait test
You can’t perform that action at this time.
0 commit comments