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