Skip to content

Commit

Permalink
Solve more issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Oct 28, 2024
1 parent af297d2 commit c1e8aee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit c1e8aee

Please sign in to comment.