Pin BridJ to a specific commit for the arm64 workaround due to a failure #202
This file contains 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: Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'Dockerfile' | |
- 'arm64-workaround/**' | |
tags-ignore: # Exclude the release tags since they trigger a dedicated release action. | |
- 'v[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+-dockerupdate-[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-dockerupdate-[0-9]+' | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download | |
run: docker build --target=build -t languagetool-build . | |
- name: Run tests | |
run: docker run languagetool-build mvn --projects languagetool-server clean test --also-make --errors | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: surefire-reports | |
path: /languagetool/languagetool-server/target/surefire-reports/ |