Skip to content

Commit

Permalink
run unit tests in separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
dagbay-rh committed Aug 22, 2023
1 parent 9c8ebdf commit eda820b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ curl -s $CICD_URL/bootstrap.sh > .cicd_bootstrap.sh && source .cicd_bootstrap.sh

# Build the image and push to quay
source $CICD_ROOT/build.sh
make test-all
source $APP_ROOT/unit_test.sh
source $CICD_ROOT/post_test_results.sh
7 changes: 7 additions & 0 deletions unit_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

ACG_CONFIG="$(pwd)/cdappconfig.json" make test-all

if [ $? != 0 ]; then
exit 1
fi

0 comments on commit eda820b

Please sign in to comment.