this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Further annotate success/fail messages.

+7 -7
+7 -7
build.sh
··· 209 209 res_fail "\t--> Cargo tests ran into an error." 210 210 TESTS_SUCCEEDED=false 211 211 } 212 - res_succ "\t-> Success" 213 - res_noti 1 "Running backend tests" 212 + res_succ "\t-> Success: Rust libraries" 213 + res_noti 1 "Running tests on Lumina server (backend)" 214 214 cd "$LOCA/backend/" || exit 1 215 215 gleam run -m backend_test --target erlang || { 216 216 res_fail "\t--> Backend tests ran into an error." 217 217 TESTS_SUCCEEDED=false 218 218 } 219 - res_succ "\t-> Success" 219 + res_succ "\t-> Success: Lumina server" 220 220 221 221 # # These tests are not needed, the shared libary can be tested within the gleam frontend and backend tests. 222 222 # res_noti 1 "Running library tests" ··· 230 230 if [ "$TEST_FE_TS" = true ]; then 231 231 cd "$LOCA/frontend-ts/" || exit 1 232 232 bun test || { 233 - res_fail "\t--> Frontend test ran into an error." 233 + res_fail "\t--> TypeScript frontend tests failed" 234 234 TESTS_SUCCEEDED=false 235 235 } 236 - res_succ "\t-> Success" 236 + res_succ "\t-> Success: Frontend (TypeScript)" 237 237 fi 238 238 if [ "$TEST_FE_GLEAM" = true ]; then 239 239 cd "$LOCA/frontend/" || exit 1 240 240 gleam test --target javascript || { 241 - res_fail "\t--> Frontend test ran into an error." 241 + res_fail "\t--> Gleam frontend tests failed." 242 242 TESTS_SUCCEEDED=false 243 243 } 244 - res_succ "\t-> Success" 244 + res_succ "\t-> Success: Frontend (Gleam)" 245 245 fi 246 246 if [ "$TESTS_SUCCEEDED" = false ]; then 247 247 res_fail "\n\nOne or more tests failed."