Implement basic unit/instance attestation #2868
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: Test JVM implementation | |
| on: | |
| # still run checks on every PR *before* the merge | |
| pull_request: | |
| # run the workflow once more **after** the PR has been merged | |
| push: | |
| branches: | |
| - main | |
| - development | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Cache gradle | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-gradle | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| ~/.m2/repository | |
| key: Android-${{ hashFiles('./gradle/libs.versions.toml', './gradle/wrapper/gradle-wrapper.properties') }} | |
| - name: Run tests | |
| run: ./gradlew jvmTest | |
| - name: Run ISO mDL tests | |
| run: | | |
| cd mobile-driving-licence-credential | |
| ./gradlew -DregressionTest=true jvmTest | |
| cd .. | |
| - name: Test Report | |
| uses: dorny/test-reporter@v2 | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| if: success() || failure() | |
| with: | |
| name: All Tests | |
| path: '**/build/test-results/**/TEST*.xml' | |
| list-suites: failed | |
| list-tests: failed | |
| reporter: java-junit | |
| use-actions-summary: true |