Skip to content

fix: Suppress Eclipse E4 javax annotation warnings in tests #136

fix: Suppress Eclipse E4 javax annotation warnings in tests

fix: Suppress Eclipse E4 javax annotation warnings in tests #136

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
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 && runner.os == 'Linux' }}
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 (Linux)
if: runner.os == 'Linux'
run: |
export DISPLAY=:99
xvfb-run -a mvn -ntp -B verify
- name: Build and Test with Maven (Windows)
if: runner.os == 'Windows'
run: mvn -ntp -B verify
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-logs-${{ matrix.os }}
path: |
vaadin-eclipse-plugin.tests/target/work/data/.metadata/.log
vaadin-eclipse-plugin.tests/target/surefire-reports/
vaadin-eclipse-plugin.tests/target/*.log