This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 branches : [master]
66
7+ env :
8+ SWT_GTK3 : " 0"
9+
710jobs :
811 test :
912 runs-on : ${{ matrix.os }} # compiles and test on Ubuntu
@@ -38,11 +41,24 @@ jobs:
3841 restore-keys : |
3942 reddeer-${{ runner.os }}-maven-
4043
44+ - name : Install WebKit on linux
45+ if : matrix.os == 'ubuntu-latest'
46+ run : |
47+ sudo apt-get update -y
48+ sudo apt-get install libwebkit2gtk-4.0-37
49+
50+ - name : Echo SWT_GTK3 Env. variable
51+ run : echo "SWT_GTK3 is set to '${SWT_GTK3}'"
52+
4153 # Build and compile using Maven
42- - name : Build/Compile and run unit tests
54+ - name : Build and compile
55+ run : mvn clean install -DskipTests=true -B
56+
57+ # Run Test Maven
58+ - name : Run unit tests
4359 uses : GabrielBB/xvfb-action@v1
4460 with :
45- run : mvn clean verify -U -fae -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true --quiet
61+ run : mvn verify -U -fae -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
4662
4763 # Archive artifacts to be applied in Publish Reports workflow
4864 - name : Archiving test artifacts
5369 *tests/*/target/surefire-reports/
5470 */*tests/*/target/surefire-reports/
5571 **/*.log
72+ **/*.png
You can’t perform that action at this time.
0 commit comments