Skip to content

Commit

Permalink
fix(script): testing should depends on get-latest step
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Sep 16, 2023
1 parent 23601bc commit 0efa8a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/libs/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ core_start() {
latest="$(db_get_comp_latest "$component")"

runner "$component" list-all \
$ check_must_success deploy-plugin \
$ check_must_success get-latest deploy-plugin \
$ exec_with_file asdf list all "$component" \
$ verify_asdf_list

runner "$component" install-latest \
$ check_must_success get-latest \
$ check_cmd_pass feat_is_test \
$ exec_with_file asdf install "$component" latest \
$ verify_asdf_install "$install_path"
Expand All @@ -82,6 +83,7 @@ core_start() {
$ exec_with_file asdf shell "$component" "$latest"

runner "$component" "test-latest" \
$ check_must_success get-latest \
$ check_cmd_pass feat_is_test \
$ exec_with_file asdf "$component" test

Expand Down

0 comments on commit 0efa8a5

Please sign in to comment.