Skip to content

Replace org.eclipse.core.runtime.Path by IPath #46

Replace org.eclipse.core.runtime.Path by IPath

Replace org.eclipse.core.runtime.Path by IPath #46

Workflow file for this run

name: Continuous Integration
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 45
steps:
- name: Checkout m2e
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: false
repository: 'eclipse-m2e/m2e-core'
ref: 'master'
- name: Checkout tests
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: false
repository: 'tesla/m2e-core-tests'
path: 'm2e-core-tests'
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.9.2
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
# re-cache on changes in the pom and target files
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.target') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build m2e-core
uses: coactions/setup-xvfb@v1
with:
run: mvn clean verify -Pits -Dtycho.p2.baselineMode=warn --batch-mode
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.os }}
if-no-files-found: error
path: |
${{ github.workspace }}/**/target/surefire-reports/*.xml
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Event File
path: ${{ github.event_path }}