From bd7ccde8c5e1b6be4b72cff9cba8f8c029b74aa1 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Thu, 14 Dec 2023 03:36:22 -0600 Subject: [PATCH] e2e --- e2e/run_test | 2 +- e2e/test_plugins_install | 1 + e2e/test_poetry | 9 +++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/e2e/run_test b/e2e/run_test index b8f81d6dc..196a12208 100755 --- a/e2e/run_test +++ b/e2e/run_test @@ -42,7 +42,7 @@ run_test() { if [[ "$status" == 0 ]]; then STATUS_MSG=":white_check_mark:" else - echo "::error::file=$TEST::Failed" + echo "::error file=$TEST::E2E Test Failed (code: $status)" STATUS_MSG=":x:" fi echo "$TEST: $((END - START))s" diff --git a/e2e/test_plugins_install b/e2e/test_plugins_install index 8e112d79f..c18662080 100755 --- a/e2e/test_plugins_install +++ b/e2e/test_plugins_install @@ -47,3 +47,4 @@ rtx plugin uninstall tiny rtx plugin update rtx plugin update shfmt +rtx i diff --git a/e2e/test_poetry b/e2e/test_poetry index 5bef5125f..7b227dc4e 100755 --- a/e2e/test_poetry +++ b/e2e/test_poetry @@ -8,8 +8,13 @@ rm -rf "$RTX_DATA_DIR/cache/poetry" export POETRY_HOME=".poetry" eval "$(rtx activate bash)" -rtx use python@3.12.0 && _rtx_hook -rtx use poetry@1.7.1 && _rtx_hook +cat >.rtx.local.toml <