Skip to content

Commit 046512b

Browse files
committed
fix docker
1 parent 4a7a615 commit 046512b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/TLS-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
distribution: ${{ matrix.distribution }}
2828
cache: maven
2929

30+
- name: set up docker compose
31+
uses: KengoTODA/actions-setup-docker-compose@v1
32+
with:
33+
version: '2.14.2' # the full version of `docker-compose` command
34+
35+
3036
- name: add host and copy properties
3137
run: |
3238
echo -e "127.0.0.1 pd \n127.0.0.1 tikv" | sudo tee -a /etc/hosts
@@ -46,4 +52,4 @@ jobs:
4652
run: sed -i 's/^#//' core/src/test/resources/tidb_config.properties
4753

4854
- name: test JKS
49-
run: mvn test -am -pl core -Dtest=moo -DwildcardSuites=com.pingcap.tispark.tls.JDBCTLSSuite,com.pingcap.tispark.tls.TiKVClientTLSSuite,com.pingcap.tispark.tls.TiSparkTLSSuite -DfailIfNoTests=false
55+
run: mvn test -am -pl core -Dtest=moo -DwildcardSuites=com.pingcap.tispark.tls.JDBCTLSSuite,com.pingcap.tispark.tls.TiKVClientTLSSuite,com.pingcap.tispark.tls.TiSparkTLSSuite -DfailIfNoTests=false

0 commit comments

Comments
 (0)