181 clean up repo #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests pass | |
on: pull_request | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: zulu | |
- name: Import GPG Key | |
uses: crazy-max/ghaction-import-gpg@v1 | |
env: | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
- name: Build with Maven shared | |
run: mvn -B install --file backend/shared/pom.xml | |
- name: Build with Maven webflux | |
run: mvn -B install --file backend/webflux/pom.xml | |
- name: Start demo | |
run: mvn install -f demo/demo-vaadin-webflux/pom.xml && mvn spring-boot:start -f demo/demo-vaadin-webflux/pom.xml | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 23 | |
- name: Install dependencies | |
run: cd e2e && npm ci | |
- name: Install Playwright | |
run: cd e2e && npx playwright install --with-deps | |
- name: Run Playwright tests | |
run: cd e2e && npx playwright test | |
env: | |
PLAYWRIGHT_TEST_BASE_URL: http://localhost:8091 | |
- name: Stop demo | |
run: mvn spring-boot:stop -f demo/demo-vaadin-webflux/pom.xml |