diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ed51969..90b5a6b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,16 +25,19 @@ jobs: java-version: 17 java-package: 'jdk' distribution: 'temurin' + - name: Build uses: gradle/gradle-build-action@v2 with: - arguments: build + arguments: build :komga-tray:jar + - name: Upload Unit Test Results if: always() uses: actions/upload-artifact@v3 with: name: test-results path: komga/build/test-results/ + - name: Upload Unit Test Reports if: always() uses: actions/upload-artifact@v3 @@ -42,6 +45,22 @@ jobs: name: test-reports path: komga/build/reports/tests/ + - name: Conveyor - compute JDK module list + uses: hydraulic-software/conveyor/actions/build@v12.0 + with: + command: -Kapp.machines=mac.aarch64 make processed-jars + agree_to_license: 1 + + - name: Compare JDK required modules + run: diff --unified ./komga-tray/conveyor/required-jdk-modules.txt ./output/required-jdk-modules.txt + + - name: Upload JDK required modules + if: failure() + uses: actions/upload-artifact@v3 + with: + name: conveyor-required-jdk-modules + path: ./output/required-jdk-modules.txt + webui: runs-on: ubuntu-latest name: Test webui builds