MCR-3324 Add checklist for author to pull request template #12406
Workflow file for this run
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: -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS | |
| 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: 21 | |
| 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 -T1C -DreuseForks=true -DforkCount=1 | |
| mvn -P!standard-with-extra-repos -B javadoc:javadoc javadoc:test-javadoc -T1C | |
| - name: Upload logs on build failure | |
| if: failure() || cancelled() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: | | |
| ./**/surefire-reports | |
| ./**/failsafe-reports | |
| ./**/screenshots | |
| ./**/*error*.log | |
| ./**/*test.log | |
| ./**/jetty-*.out |