Skip to content

Setting up LanguageTool server #1

Setting up LanguageTool server

Setting up LanguageTool server #1

Workflow file for this run

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/