Skip to content

Commit

Permalink
Add test for uninstall.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Oct 28, 2024
1 parent 6dddcba commit 2ea0d4e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ jobs:
metacall deploy --version | grep -E "^v.*\..*\..*"
metacall faas --version | grep -E "^v.*\..*\..*"
- name: Uninstall MetaCall
env:
METACALL_INSTALL_DEBUG: 1
run: ./install.sh --uninstall

- name: Check Uninstall
run: |
if command -v metacall >/dev/null 2>&1; then
echo "MetaCall uninstalled correctly"
else
echo "Failed to unistall MetaCall"
exit 1
fi
install-from-path:
name: Install MetaCall via Path Installation
strategy:
Expand Down Expand Up @@ -68,3 +82,17 @@ jobs:
run: |
metacall deploy --version | grep -E "^v.*\..*\..*"
metacall faas --version | grep -E "^v.*\..*\..*"
- name: Uninstall MetaCall
env:
METACALL_INSTALL_DEBUG: 1
run: ./install.sh --uninstall

- name: Check Uninstall
run: |
if command -v metacall >/dev/null 2>&1; then
echo "MetaCall uninstalled correctly"
else
echo "Failed to unistall MetaCall"
exit 1
fi

0 comments on commit 2ea0d4e

Please sign in to comment.