Skip to content

Build and Test AasEnv #1

Build and Test AasEnv

Build and Test AasEnv #1

Workflow file for this run

name: Build and Test AasEnv
on: workflow_dispatch
env:
MVN_ARGS_BUILD_BASYX: -DskipTests
jobs:
test-basyx-common:
runs-on: ubuntu-latest
name: BaSyx Core Test
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Start environment
run: docker compose --project-directory ./ci up -d --wait
- name: Build BaSyx
run: mvn clean install ${MVN_ARGS_BUILD_BASYX}
- name: Test AAS Environment
run: mvn test -f "basyx.common/pom.xml"
- name: Stop environment
if: always()
run: docker compose --project-directory ./ci down
test-basyx-aasenvironment:
runs-on: ubuntu-latest
name: AAS Environment Test
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Start environment
run: docker compose --project-directory ./ci up -d --wait
- name: Build BaSyx
run: mvn clean install ${MVN_ARGS_BUILD_BASYX}
- name: Test AAS Environment
run: mvn test -f "basyx.aasenvironment/pom.xml"
- name: Stop environment
if: always()
run: docker compose --project-directory ./ci down