diff --git a/.github/workflows/system-test.yml b/.github/workflows/system-test.yml index 5c691e82d..25a98fc83 100644 --- a/.github/workflows/system-test.yml +++ b/.github/workflows/system-test.yml @@ -183,24 +183,19 @@ jobs: - name: "Check out source" uses: actions/checkout@v3 - - name: "Prepare folders" - run: | - mkdir /coreExe - mkdir /mockserver - - name: "Download windows artifact from current workflow" id: "downloadArtifactThisBuild" continue-on-error: true uses: actions/download-artifact@master with: name: coreWindows - path: /coreExe/core.exe + path: core.exe - name: "Check if core.exe was downloaded" id: checkCoreExe uses: andstor/file-existence-action@v1 with: - files: ${{ runner.temp }}/core/core.exe + files: core.exe - name: "Download windows artifact from previous workflow if no native build was executed" if: ${{steps.checkCoreExe.outputs.files_exists == 'false'}} @@ -210,7 +205,7 @@ jobs: #Search for matching artifact in any of the last completed workflows search_artifacts: true workflow_conclusion: 'completed' - path: /coreExe/ + path: . - name: "Set up JDK 17" uses: actions/setup-java@v3 @@ -224,12 +219,15 @@ jobs: - name: "Copy mockserver" run: | - copy other/mockserver/target/*-exec.jar /mockserver/exec.jar + copy other/mockserver/target/*-exec.jar exec.jar + + - name: "List files in folder" + run: ls - name: "Start mock server and hydra, run tests" uses: BerniWittmann/background-server-action@v1 with: - start: /coreExe/core.exe directstart, java -jar /mockserver/exec.jar + start: core.exe directstart, java -jar exec.jar wait-on: 'http://localhost:5076, http://localhost:5080' command: mvn --batch-mode test -pl org.nzbhydra.tests:system -DtrimStackTrace=false