Skip to content

TIKA-4850: Emit audio cover art as a THUMBNAIL embedded document (#3090) #106

TIKA-4850: Emit audio cover art as a THUMBNAIL embedded document (#3090)

TIKA-4850: Emit audio cover art as a THUMBNAIL embedded document (#3090) #106

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# tr_TR is the highest-value locale to test in Java: dotless-i means
# "TIFF".toLowerCase() is not "tiff" unless the call passes Locale.ROOT.
#
# Linux, not Windows: locale bugs are JVM-level, so the 2x-cost Windows runner
# buys nothing here -- main-jdk17-windows-build covers the OS-specific surface.
#
# Locale via -Duser.language/-Duser.country, not LANG/LC_ALL: the JVM silently
# falls back to en_US when the named locale is not generated on the runner, so
# the env-var form can pass while testing nothing.
#
# push-only, like the jdk21/jdk25 builds: locale regressions are rare and not
# usually PR-specific, so a full reactor build per PR is not worth the cost.
name: main jdk17 locale build (tr_TR)
on:
push:
branches: [ main ]
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
java: [ '17' ]
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Install external tools
run: sudo apt-get update && sudo apt-get install -y ffmpeg libimage-exiftool-perl
# The Docker-backed integration tests spin up Elasticsearch/OpenSearch/Solr/Kafka/MinIO
# for ~7.5 min and carry no locale signal, so they are excluded here; the main jdk17
# build runs them. If a new testcontainers module appears, add it to this list --
# forgetting only makes this job slower, it does not weaken it.
- name: Build with Maven (tr_TR locale)
run: |
mvn install -Pfast -pl :tika-annotation-processor -am -B -q
mvn clean test install -Pci -T1C \
-pl '!:tika-pipes-es-integration-tests,!:tika-pipes-kafka-integration-tests,!:tika-pipes-opensearch-integration-tests,!:tika-pipes-s3-integration-tests,!:tika-pipes-solr-integration-tests' \
-Duser.language=tr -Duser.country=TR \
-B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"