Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BXMSPROD-963 pull_request.yml updated #3401

Merged
merged 9 commits into from
Sep 4, 2020
53 changes: 24 additions & 29 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,30 @@ name: Build Chain
on: [pull_request]

jobs:
build-chain-openjdk8:
build-chain:
strategy:
matrix:
java-version: [8, 11]
fail-fast: false
runs-on: ubuntu-latest
name: Pull Request openjdk8
name: Maven Build
steps:
- uses: actions/checkout@v2
- name: Build Chain
id: build-chain
uses: kiegroup/github-action-build-chain@openjdk8
with:
parent-dependencies: 'kie-wb-playground'
child-dependencies: 'drools-wb'
build-command: 'mvn -e -nsu -Dfull clean install -Prun-code-coverage -Pwildfly -Dcontainer=wildfly -Dcontainer.profile=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true -Dwebdriver.firefox.bin=/opt/tools/firefox-60esr/firefox-bin -DjvmArgs="-Xms1g -Xmx5g"'
build-command-upstream: "mvn -e -T1C clean install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true"
workflow-file-name: "pull_request.yml"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
build-chain-openjdk11:
runs-on: ubuntu-latest
name: Pull Request openjdk11
steps:
- uses: actions/checkout@v2
- name: Build Chain
id: build-chain
uses: kiegroup/github-action-build-chain@openjdk11
with:
parent-dependencies: 'kie-wb-playground'
child-dependencies: 'drools-wb'
build-command: 'mvn -e -nsu -Dfull clean install -Prun-code-coverage -Pwildfly -Dcontainer=wildfly -Dcontainer.profile=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true -Dwebdriver.firefox.bin=/opt/tools/firefox-60esr/firefox-bin -DjvmArgs="-Xms1g -Xmx5g"'
build-command-upstream: "mvn -e -T1C clean install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true"
workflow-file-name: "pull_request.yml"
env:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Build Chain ${{ matrix.java-version }}
id: build-chain
uses: kiegroup/github-action-build-chain@v1.4
with:
parent-dependencies: 'kie-wb-playground'
child-dependencies: 'drools-wb'
build-command: 'mvn -e -nsu -Dfull install -Prun-code-coverage -Pwildfly -Dcontainer=wildfly -Dcontainer.profile=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true -Dwebdriver.firefox.bin=/opt/tools/firefox-60esr/firefox-bin'
build-command-upstream: |
mvn -e -T1C install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true
rm -rf ./*
workflow-file-name: "pull_request.yml"
archive-artifacts-path: |
**/target/screenshots/**
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"