Skip to content

Commit

Permalink
build: run weasyprint integration tests during build process
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev committed Jun 7, 2024
1 parent 2d88d23 commit 06b45dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
- name: Print settings.xml
run: cat /home/runner/.m2/settings.xml
- name: Install weasyprint
run: sudo apt install -y python3-pip libpango-1.0-0 libpangoft2-1.0-0 && python3 -m venv venv && source venv/bin/activate && pip install weasyprint && weasyprint --info
run: sudo apt install -y python3-pip libpango-1.0-0 libpangoft2-1.0-0
- name: Build with Maven
run: mvn --batch-mode -Dmaven-surefire-plugin.wpCommand=weasyprint clean package -P polarion2404,tests-with-weasyprint-cli
run: python3 -m venv venv && source venv/bin/activate && pip install weasyprint && weasyprint --info && mvn --batch-mode -Dmaven-surefire-plugin.wpCommand=weasyprint clean package
-P polarion2404,tests-with-weasyprint-cli
- name: Extract artefact version
id: artefact_version
run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 06b45dc

Please sign in to comment.