diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f5bf9f..7117c1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,6 @@ on: - master tags: - 'v*.*.*' - workflow_dispatch: jobs: ci: diff --git a/test/test.sh b/test/test.sh index 67a6393..68073cc 100755 --- a/test/test.sh +++ b/test/test.sh @@ -177,7 +177,7 @@ function test_nodejs_dependency_app() { local reverse_response reverse_response=$(curl -s -X POST -H "Content-Type: application/json" -d '{"token":"'"$token"'","args":{"str":"hello"}}' $url/reverse) - [[ $reverse_response = '"dddddd"' ]] || exit 1 + [[ $reverse_response = '"olleh"' ]] || exit 1 local sum_response sum_response=$(curl -s -X POST -H "Content-Type: application/json" -d '{"token":"'"$token"'","args":{"a":1,"b":2}}' $url/sum) @@ -187,7 +187,7 @@ function test_nodejs_dependency_app() { # Run tests run_tests "nodejs-base-app" test_nodejs_app run_tests "python-base-app" test_python_base_app -if [[ "${TEST_FAAS_DEPENDENCY_DEPLOY}" == "false" ]]; then +if [[ "${TEST_FAAS_DEPENDENCY_DEPLOY}" == "true" ]]; then run_tests "python-dependency-app" test_python_dependency_app run_tests "nodejs-dependency-app" test_nodejs_dependency_app fi