test: Add test for getModulePaths with Windows-style paths #127
This file contains hidden or 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: 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 |