github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/tests/suites/charmhub/task.sh (about) 1 test_charmhub() { 2 if [ "$(skip 'test_charmhub')" ]; then 3 echo "==> TEST SKIPPED: Charm Hub tests" 4 return 5 fi 6 7 set_verbosity 8 9 echo "==> Checking for dependencies" 10 check_dependencies juju 11 12 file="${TEST_DIR}/test-charmhub.log" 13 14 # These tests don't need a controller. 15 test_charmhub_find 16 test_charmhub_info 17 18 bootstrap "test-charmhub" "${file}" 19 20 test_charmhub_download 21 22 destroy_controller "test-charmhub" 23 }