Skip to content

Refactor/remove business logic and make modular #38

Refactor/remove business logic and make modular

Refactor/remove business logic and make modular #38

Workflow file for this run

name: Test
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: Build Artifact
run: mvn clean verify
- name: Start Backbone
run: docker compose -p test-backbone --env-file .dev/compose.backbone.env -f .dev/compose.backbone.yml up -d
- name: Run Tests
run: mvn test
env:
NMSHD_TEST_BASEURL: http://host.docker.internal:8090
NMSHD_TEST_CLIENTID: test
NMSHD_TEST_CLIENTSECRET: test
NMSHD_TEST_ADDRESS_GENERATION_HOSTNAME_OVERRIDE: localhost