@@ -25,60 +25,27 @@ jobs:
25
25
java-version : ${{ matrix.java }}
26
26
cache : ' maven'
27
27
- name : Build
28
- run : mvn clean install -T1C -Pjsdoc,minify --batch-mode --show-version
29
- # - name: Sonar Cloud - simulate (without sonar:sonar)
30
- # if: matrix.java == 21
31
- # run: mvn clean install -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,mojarra-2.3 -pl !primefaces-integration-tests-jakarta
28
+ run : mvn clean install -T1C -Pminify --batch-mode --show-version
32
29
- name : Sonar Cloud
33
30
if : github.repository == 'primefaces/primefaces' && github.ref == 'refs/heads/master' && matrix.java == 21
34
31
run : mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Pquick -Dsonar.organization=primefaces -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=${{secrets.SONAR_TOKEN}} -fprimefaces/pom.xml
35
32
# new approach with code-coverage does not work as of 2024/12 because
36
33
# "Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project primefaces-parent: Could not find a default branch for project with key 'org.primefaces:primefaces-parent'. Make sure project exists. -> [Help 1]"
37
34
# setting sonar.skip=true in the parent-pom.xml does not work either because this results in skipping the whole project, setting sonar.skip=false for modules does not compensate for this
38
- # run: mvn clean install sonar:sonar -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,mojarra-2.3 -pl !primefaces-integration-tests-jakarta -Dsonar.organization=primefaces -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=${{secrets.SONAR_TOKEN}}
35
+ # run: mvn clean install sonar:sonar -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,mojarra-4.0 -Dsonar.organization=primefaces -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=${{secrets.SONAR_TOKEN}}
39
36
env :
40
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
38
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
42
39
43
40
44
- integration-tests-23 :
41
+ integration-tests :
45
42
runs-on : ubuntu-latest
46
43
if : github.repository == 'primefaces/primefaces'
47
44
name : Integration Tests (Java ${{ matrix.java }} - ${{ matrix.facesimpl }})
48
45
strategy :
49
46
fail-fast : false
50
47
matrix :
51
48
java : [11, 21, 23]
52
- facesimpl : [ 'mojarra-2.3', 'myfaces-2.3']
53
- steps :
54
- - uses : actions/checkout@v4
55
- - name : Set up JDK ${{ matrix.java }}
56
- uses : actions/setup-java@v4
57
- with :
58
- distribution : ' temurin'
59
- java-version : ${{ matrix.java }}
60
- cache : ' maven'
61
- - name : Build
62
- run : mvn clean install -pl -primefaces-integration-tests-jakarta -T1C -DskipTests -Dcheckstyle.skip -Djsdoc.skip.typedoc=true -Dmaven.javadoc.skip=true --batch-mode --show-version
63
- - name : Integration Tests
64
- run : mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}
65
- - name : Upload failure-screenshots
66
- uses : actions/upload-artifact@v4
67
- if : always()
68
- with :
69
- name : failed_tests_screenshots_java${{ matrix.java }}_${{ matrix.facesimpl }}
70
- if-no-files-found : ignore
71
- path : /tmp/pf_it/
72
-
73
-
74
- integration-tests-40 :
75
- runs-on : ubuntu-latest
76
- if : github.repository == 'primefaces/primefaces'
77
- name : Integration Tests (Java ${{ matrix.java }} - ${{ matrix.facesimpl }})
78
- strategy :
79
- fail-fast : false
80
- matrix :
81
- java : [11, 21]
82
49
facesimpl : [ 'mojarra-4.0', 'myfaces-4.0' ]
83
50
steps :
84
51
- uses : actions/checkout@v4
@@ -91,11 +58,11 @@ jobs:
91
58
- name : Build
92
59
run : mvn clean install -T1C -DskipTests -Dcheckstyle.skip -Djsdoc.skip.typedoc=true -Dmaven.javadoc.skip=true --batch-mode --show-version
93
60
- name : Integration Tests
94
- run : mvn -B -V clean install -fprimefaces-integration-tests-jakarta /pom.xml -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}
61
+ run : mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}
95
62
- name : Upload failure-screenshots
96
63
uses : actions/upload-artifact@v4
97
64
if : always()
98
65
with :
99
- name : failed_tests_screenshots_java${{ matrix.java }}_${{ matrix.facesimpl }}_jakarta
66
+ name : failed_tests_screenshots_java${{ matrix.java }}_${{ matrix.facesimpl }}
100
67
if-no-files-found : ignore
101
68
path : /tmp/pf_it/
0 commit comments