chore(boxsdkgen): Update .codegen.json with commit hash of codegen and openapi spec [skip ci]
#100
Workflow file for this run
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 | |
| 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 | |
| run: ./gradlew jacocoTestReport --stacktrace | |
| - name: Upload coverage to Coveralls | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./gradlew coverallsJacoco --stacktrace |