Skip to content

Fix JRE-dependent IDs causing tests to fail #7

Fix JRE-dependent IDs causing tests to fail

Fix JRE-dependent IDs causing tests to fail #7

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Run tests
run: ./gradlew test
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: build/reports/tests/test/
- name: Generate JaCoCo report
run: ./gradlew jacocoTestReport
- name: Upload JaCoCo Report
uses: actions/upload-artifact@v4
with:
name: jacoco-html-report
path: build/reports/jacoco/test/html/