diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a11a3736..ef5afa1e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,11 +30,14 @@ jobs: # Many tests only pass on Windows runs-on: windows-latest + # On Java 11, continue on error to upload artifact + continue-on-error: ${{ matrix.java == '11' }} + strategy: matrix: java: [ '11', '17' ] - name: Java ${{ matrix.Java }} build + name: Java ${{ matrix.java }} build steps: - uses: actions/checkout@v4 @@ -50,8 +53,20 @@ jobs: - name: Build with Gradle run: >- ./gradlew build - -PexcludeTests="SamplesSpecRenderingTest.testFontArabic,SamplesSpecRenderingTest.testVerticalText,StyleBypassRenderingTest.testVerticalText" + + # Upload test artifact + - name: Upload test output + uses: actions/upload-artifact@v4 + if: ${{ failure() }} + with: + name: test-output + path: | + echosvg-test/build/reports/tests/test/ + test-references/samples/**/candidate-variation/* + retention-days: 15 + overwrite: true # Generate modular javadocs - name: Modular javadocs + if: ${{ success() }} run: ./gradlew modularJavadoc diff --git a/test-references/samples/tests/spec/fonts/accepted-variation/fontArabic.png b/test-references/samples/tests/spec/fonts/accepted-variation/fontArabic.png new file mode 100644 index 000000000..e51d0534a Binary files /dev/null and b/test-references/samples/tests/spec/fonts/accepted-variation/fontArabic.png differ diff --git a/test-references/samples/tests/spec/text/accepted-variation/verticalText.png b/test-references/samples/tests/spec/text/accepted-variation/verticalText.png new file mode 100644 index 000000000..35760f5bc Binary files /dev/null and b/test-references/samples/tests/spec/text/accepted-variation/verticalText.png differ