docs: Update README and Versions files with the communication pla…
#425
This file contains hidden or 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: Unit tests and Coverage | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize ] | |
| push: | |
| branches: | |
| - combined-sdk | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| distribution: [ 'zulu', 'temurin' ] | |
| java: [ '8', '11', '17' ] | |
| name: Java ${{ matrix.java }} (${{ matrix.distribution }}) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: ${{ matrix.distribution }} | |
| java-version: ${{ matrix.java }} | |
| cache: 'gradle' | |
| - name: Build and test | |
| run: ./gradlew check --stacktrace | |
| - name: Generate JaCoCo report | |
| if: ${{ matrix.java == '17' && matrix.distribution == 'temurin' }} | |
| run: ./gradlew jacocoTestReport --stacktrace | |
| - name: Upload coverage to Coveralls | |
| if: ${{ matrix.java == '17' && matrix.distribution == 'temurin' }} | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: build/reports/jacoco/test/jacocoTestReport.xml | |
| format: jacoco |