From c1e8aee30a9edfe8f9da2ec53a4c3700c87f099d Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Mon, 28 Oct 2024 23:46:49 +0100 Subject: [PATCH] Solve more issues. --- .github/workflows/test-linux.yml | 4 ++-- .github/workflows/test-macos.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index f6f3a5f..23f82ec 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -10,7 +10,7 @@ jobs: trigger-cli-build: name: Trigger CLI Docker Build runs-on: ubuntu-latest - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: install-remote: name: Install MetaCall via Default Installation (remote) runs-on: ubuntu-latest - if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' needs: trigger-cli-build steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index d8407e8..b4b215e 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -38,11 +38,11 @@ jobs: run: ./install.sh --uninstall - name: Check Uninstall + # TODO: A good test case would be to do a $(find /) and then + # compare the filesystems before and after installation run: | if command -v metacall >/dev/null 2>&1; then - echo "MetaCall uninstalled correctly" - else - echo "Failed to unistall MetaCall" + echo "Failed to uninstall MetaCall, the program is still available" exit 1 fi @@ -89,10 +89,10 @@ jobs: run: ./install.sh --uninstall - name: Check Uninstall + # TODO: A good test case would be to do a $(find /) and then + # compare the filesystems before and after installation run: | if command -v metacall >/dev/null 2>&1; then - echo "MetaCall uninstalled correctly" - else - echo "Failed to unistall MetaCall" + echo "Failed to uninstall MetaCall, the program is still available" exit 1 fi