Skip to content

fix e2e tests

fix e2e tests #4

Workflow file for this run

#
# Copyright (c) 2024 SAP SE
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# SAP SE - initial API and implementation
---
name: "Run Tests"
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- 'mxd-runtimes/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Unit-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Run Unit Tests
working-directory: mxd-runtimes
run: ./gradlew :test
API-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Run API Tests
working-directory: mxd-runtimes
run: ./gradlew -DincludeTags="ApiTest" :test
Component-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Run API Tests
working-directory: mxd-runtimes
run: ./gradlew -DincludeTags="ComponentTest" :test