From 10c8ce012b4bbe4f91476f1d51f1d7e905e0d9e4 Mon Sep 17 00:00:00 2001 From: Sergey Grigoriev Date: Tue, 11 Jun 2024 11:15:30 +0200 Subject: [PATCH] build: run weasyprint integration tests during build process (#17) --- .github/workflows/maven-release.yml | 2 +- pom.xml | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index a588176..4a1abef 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -57,7 +57,7 @@ jobs: - name: Print settings.xml run: cat /home/runner/.m2/settings.xml - name: Build with Maven - run: mvn --batch-mode clean package + run: mvn --batch-mode -DwpExporterImpl=docker clean package -P polarion2404,tests-with-weasyprint-docker - name: Extract artefact version id: artefact_version run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT diff --git a/pom.xml b/pom.xml index 70deff8..8be296e 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ 1.14.17 3.3.0 - 61.2 + 62.2 4.2.1 pdf-exporter @@ -193,5 +193,26 @@ + + + tests-with-weasyprint-docker + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + true + + docker + + + + + +