Skip to content

refactor: Extract migration selection to method #592

refactor: Extract migration selection to method

refactor: Extract migration selection to method #592

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: run-mvn-integration-tests
on:
pull_request:
jobs:
build_and_integration_test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '25'
cache: 'maven'
- name: Set up Docker
uses: docker/setup-buildx-action@v2
with:
version: latest
- name: Install Maven
run: |
sudo apt update
sudo apt install -y maven
# Step 1: Build everything but skip tests
- name: Build all StreamPipes modules (skip tests)
run: mvn -B clean install -DskipTests
# Step 2: Run only integration tests (selfsigned)
- name: Run Integration Tests (selfsigned)
run: |
mvn -B test -P selfsigned -pl streampipes-integration-tests -Dtest='**/*Test'
# Step 3: Run only integration tests (keystore)
- name: Run Integration Tests (keystore)
run: |
mvn -B test -P keystore -pl streampipes-integration-tests -Dtest='**/*Test'