Skip to content

chore: update vaadin 25.0.0-alpha14 #5

chore: update vaadin 25.0.0-alpha14

chore: update vaadin 25.0.0-alpha14 #5

Workflow file for this run

name: PR Validation
on:
pull_request:
branches:
- v25
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [21]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: maven
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.8.7
- name: Check secrets
run: |
[ -z "${{secrets.TB_LICENSE}}" ] \
&& echo "🚫 **TB_LICENSE** is not defined, check that **${{github.repository}}** repo has a valid secret" \
| tee -a $GITHUB_STEP_SUMMARY && exit 1 || exit 0
- name: Set TB License
run: |
TB_LICENSE=${{secrets.TB_LICENSE}}
mkdir -p ~/.vaadin/
echo '{"username":"'`echo $TB_LICENSE | cut -d / -f1`'","proKey":"'`echo $TB_LICENSE | cut -d / -f2`'"}' > ~/.vaadin/proKey
- name: Verify Maven installation
run: mvn -v
- name: Run integration tests
run: mvn -ntp clean verify -Pit -Dcom.vaadin.testbench.Parameters.headless=true -Dcom.vaadin.testbench.Parameters.testsInParallel=1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: "**/target/*-reports/TEST*.xml"
check_run_annotations: all tests, skipped tests
check_run_annotations_branch: v24
- if: ${{always()}}
uses: actions/upload-artifact@v4
with:
name: files
path: |
**/error-screenshots
retention-days: 7