1010 branches : [ master ]
1111
1212jobs :
13- tests-ce :
13+ tests-cartridge-container :
1414 runs-on : ubuntu-latest
1515 timeout-minutes : 25
1616 strategy :
@@ -26,19 +26,20 @@ jobs:
2626 cache : ' maven'
2727
2828 - name : Build and run unit tests
29- run : ./mvnw -B verify -Djacoco.destFile=target/jacoco-ce .exec --file pom.xml
29+ run : ./mvnw -B verify -Djacoco.destFile=target/jacoco-cartridge-container .exec --file pom.xml
3030
3131 - name : Run integration tests
3232 env :
3333 TARANTOOL_SERVER_USER : root
3434 TARANTOOL_SERVER_GROUP : root
35- run : ./mvnw -B test -P integration -Djacoco.destFile=target/jacoco-ce.exec --file pom.xml
35+ TARANTOOL_VERSION : " 2.11.2-centos7"
36+ run : ./mvnw -B test -P integration -Djacoco.destFile=target/jacoco-cartridge-container.exec --file pom.xml
3637
3738 - name : Upload jacoco exec results
3839 uses : actions/upload-artifact@v2
3940 with :
40- name : tests-ce -jacoco
41- path : " **/jacoco-ce .exec"
41+ name : tests-cartridge-container -jacoco
42+ path : " **/jacoco-cartridge-container .exec"
4243
4344 tests-ee :
4445 runs-on : ubuntu-latest
@@ -67,10 +68,40 @@ jobs:
6768 name : tests-ee-jacoco
6869 path : " **/jacoco-ee.exec"
6970
71+ tests-tarantool-container :
72+ runs-on : ubuntu-latest
73+ timeout-minutes : 25
74+ strategy :
75+ matrix :
76+ tarantool-version : [ "1.x-centos7", "2.11.2-centos7", "3.0.1" ]
77+ fail-fast : false
78+ steps :
79+ - uses : actions/checkout@v4
80+
81+ - name : Set up JDK 1.8
82+ uses : actions/setup-java@v3
83+ with :
84+ distribution : ' zulu'
85+ java-version : ' 8'
86+ cache : ' maven'
87+
88+ - name : Build and run integration matrix tests
89+ env :
90+ TARANTOOL_VERSION : ${{ matrix.tarantool-version }}
91+ TARANTOOL_SERVER_USER : root
92+ TARANTOOL_SERVER_GROUP : root
93+ run : ./mvnw -B test -P tarantool-container -Djacoco.destFile=target/jacoco-tarantool-container.exec --file pom.xml
94+
95+ - name : Upload jacoco exec results
96+ uses : actions/upload-artifact@v2
97+ with :
98+ name : tests-tarantool-container-jacoco
99+ path : " **/jacoco-tarantool-container.exec"
100+
70101 merge-jacoco-report :
71102 name : Jacoco Merge Results
72103 needs :
73- - tests-ce
104+ - tests-cartridge-container
74105 - tests-ee
75106 runs-on : ubuntu-latest
76107 steps :
@@ -85,14 +116,19 @@ jobs:
85116
86117 - uses : actions/download-artifact@v2
87118 with :
88- name : tests-ce -jacoco
119+ name : tests-cartridge-container -jacoco
89120 path : .
90121
91122 - uses : actions/download-artifact@v2
92123 with :
93124 name : tests-ee-jacoco
94125 path : .
95126
127+ - uses : actions/download-artifact@v2
128+ with :
129+ name : tests-tarantool-container-jacoco
130+ path : .
131+
96132 - name : merge results
97133 run : |
98134 ./mvnw package jacoco:merge jacoco:report -DskipTests -Darguments=-DskipTests
0 commit comments