diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 42ada5c..3e5a82a 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -15,9 +15,11 @@ jobs: matrix: command: - build - - scan - create - github-actions + - init + - scan + - upgrade fail-fast: false steps: - name: Checkout repository diff --git a/tests/upgrade/run_tests.sh b/tests/upgrade/run_tests.sh new file mode 100755 index 0000000..b1dbd8b --- /dev/null +++ b/tests/upgrade/run_tests.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -eou pipefail + +test_upgrade() { + if ! 3lv upgrade --force-reinstall; then + echo 'Failed to upgrade 3lv.' + exit 1 + fi +} + +main() { + test_upgrade + + echo 'All tests passed!' +} + +main +