MCR-3575 Fix processing of multiple subTitle elements in mods2schemao… #12414
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 | |
| on: [ push, pull_request ] | |
| env: | |
| MAVEN_OPTS: -Xmx1024M -Xss128M | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| cache: 'maven' | |
| - name: Set up Browser | |
| run: | | |
| # Geckodriver | |
| echo ${GECKOWEBDRIVER} >> $GITHUB_PATH | |
| # Chromedriver | |
| echo ${CHROMEWEBDRIVER} >> $GITHUB_PATH | |
| firefox --version | |
| ${GECKOWEBDRIVER}/geckodriver --version | |
| - name: Build | |
| run: | | |
| mkdir ${{ runner.temp }}/${{ github.run_id }}.tmp | |
| export TMPDIR=${{ runner.temp }}/${{ github.run_id }}.tmp | |
| export FIREFOX_BIN=$(which firefox) | |
| export SELENIUM_BROWSER=firefox | |
| mvn -B -Plocal-testing,!standard-with-extra-repos install -Dlog4j.configurationFile=$PWD/ci/log4j2.xml -T2 | |
| mvn -P!standard-with-extra-repos -B javadoc:javadoc -T1C | |
| - name: Upload logs on build failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: | | |
| ./**/surefire-reports | |
| ./**/failsafe-reports | |
| ./**/screenshots | |
| ./**/*error*.log | |
| ./**/*test.log |