File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Validation
2+
3+ on :
4+ push :
5+ # Change this when backporting to a maintenance branch
6+ branches : [v25]
7+ pull_request :
8+ types : [opened, synchronize, reopened]
9+ # Change this when backporting to a maintenance branch
10+ branches : [v25]
11+
12+ concurrency :
13+ group : ${{ github.head_ref || github.ref_name }}
14+ cancel-in-progress : true
15+
16+ env :
17+ JAVA_VERSION : ' 21'
18+ NODE_VERSION : ' 24'
19+ MAVEN_VERSION : ' 3.8.7'
20+
21+ jobs :
22+ validation :
23+ name : Validation
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v5
27+ with :
28+ ref : ${{ github.event.pull_request.head.sha || github.sha }}
29+ - uses : actions/setup-java@v5
30+ with :
31+ java-version : ${{ env.JAVA_VERSION }}
32+ distribution : ' temurin'
33+ cache : ' maven'
34+ - uses : stCarolas/setup-maven@v5
35+ with :
36+ maven-version : ${{ env.MAVEN_VERSION }}
37+ - uses : actions/setup-node@v5
38+ with :
39+ node-version : ${{ env.NODE_VERSION }}
40+ - name : Set TB License
41+ run : |
42+ TB_LICENSE=${{secrets.TB_LICENSE}}
43+ mkdir -p ~/.vaadin/
44+ echo '{"username":"'`echo $TB_LICENSE | cut -d / -f1`'","proKey":"'`echo $TB_LICENSE | cut -d / -f2`'"}' > ~/.vaadin/proKey
45+ - name : Verify
46+ run : mvn -B verify -Pit -Dcom.vaadin.testbench.Parameters.maxAttempts=2 -Dcom.vaadin.testbench.Parameters.headless=true
47+ - name : Publish test results
48+ if : ${{ always() }}
49+ uses : EnricoMi/publish-unit-test-result-action@v2
50+ with :
51+ files : ' **/failsafe-reports/TEST-*.xml'
You can’t perform that action at this time.
0 commit comments