Feature RM#87398:ConnectorMapper by Company and TradingName #31693
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: Java CI | |
on: | |
push: | |
branches: | |
- wip | |
pull_request: | |
branches: | |
- wip | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.11 | |
- name: Install webapp | |
run: git clone -b wip https://github.com/axelor/open-suite-webapp.git open-suite-webapp | |
- name: move to the right place | |
run: mkdir -p open-suite-webapp/modules/axelor-open-suite && ls | grep -v open-suite-webapp | xargs -I{} mv {} open-suite-webapp/modules/axelor-open-suite | |
- name: Grant execute permission for gradlew | |
run: chmod +x open-suite-webapp/gradlew | |
- name: Check spotless format with gradle task | |
run: cd open-suite-webapp && ./gradlew spotlessCheck | |
- name: Check that CSV files use the correct CR/LF EOL char (\r\n) | |
run: cd open-suite-webapp && ./gradlew checkCsvEOL | |
- name: Check that rptdesign files do not have credentials | |
run: cd open-suite-webapp && ./gradlew checkBirtCredentials | |
- name: Check changelog generation with gradle task | |
run: cd open-suite-webapp && ./gradlew generateChangelog | |
- name: Check XML files validity | |
run: cd open-suite-webapp && ./gradlew checkXml | |
- name: Build without tests | |
run: cd open-suite-webapp && ./gradlew -xtest clean build | |
- name: Run tests | |
run: cd open-suite-webapp && ./gradlew test |