Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 14, 2023
1 parent 6b6ba51 commit bd7ccde
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/run_test
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions e2e/test_plugins_install
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ rtx plugin uninstall tiny

rtx plugin update
rtx plugin update shfmt
rtx i
9 changes: 7 additions & 2 deletions e2e/test_poetry
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ rm -rf "$RTX_DATA_DIR/cache/poetry"
export POETRY_HOME=".poetry"

eval "$(rtx activate bash)"
rtx use [email protected] && _rtx_hook
rtx use [email protected] && _rtx_hook
cat >.rtx.local.toml <<EOF
[tools]
python = "3.12.0"
poetry = {version="1.7.1", pyproject="pyproject.toml"}
EOF
rtx i python && _rtx_hook
rtx i poetry && _rtx_hook

assert "poetry --version" "Poetry (version 1.7.1)"
python3 -V
Expand Down

0 comments on commit bd7ccde

Please sign in to comment.