GEOMESA-3321 Fix disjoint queries being blocked by full table scan ch… #807
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: build-and-test-2.11 | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-scala: | |
runs-on: ubuntu-latest | |
# avoid duplicate jobs on PRs from the main repo | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set Scala version | |
run: ./build/change-scala-version.sh 2.11 | |
- name: Build with Maven | |
run: ./build/mvn clean install -Pbigtable -DskipTests -T4 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | |
- name: Unit tests | |
id: test | |
run: mvn -o surefire:test -Pbigtable -Dtest.fork.count=1 -Dmaven.test.jvmargs="-Xmx4g -XX:-UseGCOverheadLimit" | |
continue-on-error: true | |
- name: Unit tests (retry) | |
id: test-retry | |
if: steps.test.outcome=='failure' | |
run: mvn -o surefire:test -Pbigtable -Dtest.fork.count=1 -Dmaven.test.jvmargs="-Xmx4g -XX:-UseGCOverheadLimit" | |
- name: HBase 1.4 unit tests | |
id: hbase-test | |
run: mvn -o surefire:test -pl geomesa-hbase/geomesa-hbase-datastore -Phbase1 -Dtest.fork.count=1 -Dmaven.test.jvmargs="-Xmx4g -XX:-UseGCOverheadLimit" | |
continue-on-error: true | |
- name: HBase 1.4 unit tests (retry) | |
id: hbase-test-retry | |
if: steps.hbase-test.outcome=='failure' | |
run: mvn -o surefire:test -pl geomesa-hbase/geomesa-hbase-datastore -Phbase1 -Dtest.fork.count=1 -Dmaven.test.jvmargs="-Xmx4g -XX:-UseGCOverheadLimit" | |
- name: Integration Tests | |
run: mvn failsafe:integration-test failsafe:verify -Pbigtable -Dtest.fork.count=1 -Dmaven.test.jvmargs="-Xmx4g -XX:-UseGCOverheadLimit" | |
- name: Remove geomesa artifacts | |
run: | | |
find . -name '*.tar.gz' -exec rm {} \; | |
rm -rf $HOME/.m2/repository/org/locationtech/geomesa |