Skip to content

Commit

Permalink
chore: add validation (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo authored Oct 20, 2024
1 parent 7c832cb commit 229b2e3
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflow/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Validate
on:
push:
branches: [v24]
workflow_dispatch:
pull_request:
jobs:
validate:
runs-on: windows-latest
steps:
- run: |
# INSTALL LICENSE
mkdir -p ~/.vaadin/
echo '{"username":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f1`'","proKey":"'`echo ${{secrets.TB_LICENSE}} | cut -d / -f2`'"}' > ~/.vaadin/proKey
echo "${{secrets.SS_LICENSE}}" > ~/vaadin.spreadsheet.developer.license
shell: bash
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
- uses: actions/setup-node@v4
with:
node-version: '18'
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.0'
- run: |
mvn -ntp -B clean install -Pproduction,it \
-Dcom.vaadin.testbench.Parameters.testsInParallel=2 \
-Dmaven.test.redirectTestOutputToFile=true \
-Dcom.vaadin.testbench.Parameters.headless=true -Dheadless \
-Dmaven.compiler.showDeprecation
env:
MAVEN_ARGS: ${{env.MAVEN_ARGS}}
shell: bash
- if: ${{failure()}}
uses: actions/[email protected]
with:
name: failed-outputs
path: target
if-no-files-found: warn
retention-days: 7

0 comments on commit 229b2e3

Please sign in to comment.