From df076bdacd030e0d576e03c0ce7e53320485f55d Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 25 May 2023 19:10:41 +0800 Subject: [PATCH] Add test run to macOS CI Signed-off-by: Claudio Cambra --- .github/workflows/macos-build-and-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-build-and-test.yml b/.github/workflows/macos-build-and-test.yml index 13286bd985071..a1bbe8d25b882 100644 --- a/.github/workflows/macos-build-and-test.yml +++ b/.github/workflows/macos-build-and-test.yml @@ -49,6 +49,12 @@ jobs: run: | python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --install-deps nextcloud-client - - name: Build Client + - name: Build client run: | python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --src-dir ${{ github.workspace }} nextcloud-client + + - name: Run tests + run: | + cd ${{ github.workspace }}/${{ env.CRAFT_TARGET }}/build/nextcloud-client/work/build + ctest --output-on-failure --output-junit testResult.xml +