Skip to content

test: use stable rule id in scanner test #967

test: use stable rule id in scanner test

test: use stable rule id in scanner test #967

name: Core Module Build
on:
push:
paths:
- 'sandbox-functional-converter-core/**'
- 'sandbox_common_core/**'
- 'sandbox_mining_cli/**'
- 'sandbox_mining_core/**'
- '.github/workflows/core-module-build.yml'
pull_request:
paths:
- 'sandbox-functional-converter-core/**'
- 'sandbox_common_core/**'
- 'sandbox_mining_cli/**'
- 'sandbox_mining_core/**'
- '.github/workflows/core-module-build.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and Test Functional Converter Core
working-directory: sandbox-functional-converter-core
run: mvn clean verify
- name: Build and Test Common Core
working-directory: sandbox_common_core
run: mvn clean verify
- name: Build and Test Mining CLI
run: |
mvn install -N -q
mvn install -pl sandbox_common_core -DskipTests -q
mvn clean verify -pl sandbox_mining_cli
- name: Build and Test Mining Core
run: |
mvn install -N -q
mvn install -pl sandbox_common_core -DskipTests -q
mvn clean verify -pl sandbox_mining_core
- name: Upload Test Results
uses: actions/upload-artifact@v7
if: always()
with:
name: test-results
path: |
sandbox-functional-converter-core/target/surefire-reports/
sandbox_common_core/target/surefire-reports/
sandbox_mining_cli/target/surefire-reports/
sandbox_mining_core/target/surefire-reports/