Skip to content

feat: Plugin feature project #94

feat: Plugin feature project

feat: Plugin feature project #94

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '22'
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '21'
cache: maven
- uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.11'
cache: true
- if: ${{ env.ACT }}
name: Install system deps for ACT
run: |
sudo apt-get -q update
sudo apt-get install -y -qq xorg xvfb
- name: Cache Tycho/P2 dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository/.cache/tycho
key: ${{ runner.os }}-tycho-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-tycho-
- name: Build and Test with Maven
run: |
export DISPLAY=:99
xvfb-run -a mvn -ntp -B verify
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-logs
path: |
vaadin-eclipse-plugin.tests/target/work/data/.metadata/.log
vaadin-eclipse-plugin.tests/target/surefire-reports/
vaadin-eclipse-plugin.tests/target/*.log