Fix TiFlash overflow (#2740) #1737
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
# this workflow contains fmt,build,ut fot tikv-client | |
name: verify | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master,release-** ] | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
cache: maven | |
- name: fmt | |
run: | | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LANGUAGE=en_US.UTF-8 | |
mvn mvn-scalafmt_2.12:format -Dscalafmt.skip=false -B | |
mvn com.coveo:fmt-maven-plugin:format -B | |
git diff --quiet | |
formatted="$?" | |
if [[ "${formatted}" -eq 1 ]] | |
then | |
echo "code format error, please run the following commands:" | |
echo " mvn mvn-scalafmt_2.12:format -Dscalafmt.skip=false" | |
echo " mvn com.coveo:fmt-maven-plugin:format" | |
exit 1 | |
fi | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
cache: maven | |
- name: build | |
run: | | |
mvn clean package -Dmaven.test.skip=true -B | |
tikv-client-ut: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
cache: maven | |
- name: ut | |
run: | | |
lsmod | grep -qw ipv6 && mvn test -am -pl tikv-client -DsomeModule.test.excludes="**/txn/*" -B || mvn test -am -pl tikv-client -DsomeModule.test.excludes="**/txn/*,**/PDClientTest.java" -B |