diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 89c03614..97b6928a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,9 +16,7 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: Set up JDK 17 @@ -28,7 +26,9 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -B package --file backend/artifact/pom.xml + run: mvn -B package --file backend/artifact/pom.xml -DFRONTEND_ADDRESS=https://feuerwehr.hansehart.de + - name: Run tests + run: mvn test --file backend/artifact/pom.xml -DFRONTEND_ADDRESS=https://feuerwehr.hansehart.de # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive #- name: Update dependency graph