This is an automated email from the ASF dual-hosted git repository. ctubbsii pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git
commit 382054d119915c237e3b3bf42305ed05d95cee48 Author: Christopher Tubbs <[email protected]> AuthorDate: Wed Aug 5 12:35:06 2020 -0400 Update GitHub Actions for main branch (#1671) Update GitHub Actions workflow for CI testing on the main/2.1 development branch. --- .github/workflows/maven.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index d380479..dd78a36 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -24,17 +24,18 @@ name: QA on: push: - branches: [ 1.9, 1.10 ] + branches: [ 2.1, main ] pull_request: - branches: [ 1.9, 1.10 ] + branches: [ 2.1, main ] jobs: build: strategy: matrix: - hadoop: - - 'hadoop.profile=2' - - 'hadoop.profile=3' + profile: + - {name: 'verify', args: 'verify javadoc:jar -DskipITs'} + - {name: 'sec-bugs', args: 'verify -PskipQA,sec-bugs -Dspotbugs.skip=false -Dspotbugs.timeout=3600000'} + - {name: 'hadoop-3.0.3', args: 'package -DskipTests -Dhadoop.version=3.0.3'} fail-fast: false runs-on: ubuntu-latest steps: @@ -49,8 +50,8 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build with Maven (${{ matrix.hadoop }}) - run: mvn -B -V -e "-Dstyle.color=always" verify javadoc:jar -DskipITs "-D${{ matrix.hadoop }}" + - name: Build with Maven (${{ matrix.profile.name }}) + run: mvn -B -V -e "-Dstyle.color=always" ${{ matrix.profile.args }} env: MAVEN_OPTS: -Djansi.force=true
