Support localdate convert to date in datetype #1374
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TLS test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distribution: [ 'zulu', 'temurin', 'adopt', 'corretto' ] | |
name: Java ${{ matrix.distribution }} sample | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: ${{ matrix.distribution }} | |
cache: maven | |
- name: add host and copy properties | |
run: | | |
echo -e "127.0.0.1 pd \n127.0.0.1 tikv" | sudo tee -a /etc/hosts | |
sudo cp -r config /config | |
cp core/src/test/resources/tidb_config.properties.TLS.template core/src/test/resources/tidb_config.properties | |
- name: build docker | |
run: docker-compose -f docker-compose-TiDB-TLS.yaml up -d | |
- name: build | |
run: mvn clean package -Dmaven.test.skip=true -B | |
- name: test TLS | |
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 | |
- name: make JKS configuration | |
run: sed -i 's/^#//' core/src/test/resources/tidb_config.properties | |
- name: test JKS | |
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 |