Merge pull request #24 from mwarzybok-sumoheavy/feature/SP-689 #45
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 | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
push: | |
branches-ignore: | |
- 'master' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [17] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'corretto' | |
- name: Run gradle compile | |
run: ./gradlew clean assemble --console=plain | |
- name: Run gradle tests | |
run: ./gradlew test --console=plain | |
- name: Run gradle integration tests | |
run: ./gradlew integrationTest --console=plain | |
- name: Run gradle checkstyle | |
run: ./gradlew checkstyleMain checkstyleTest --console=plain | |