Skip to content

Commit

Permalink
Simplify ci.yml (#1588)
Browse files Browse the repository at this point in the history
Remove the "all" option.  Make the error message a little more
intuitive.
  • Loading branch information
smoelius authored and Eric Hennenfent committed Jan 13, 2020
1 parent f5583a2 commit efdf627
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,34 +227,11 @@ jobs:
run_tests_from_dir $TEST_TYPE
RV=$?
;;
examples)
run_examples
;;
all)
echo "Running all tests registered in travis_test.sh: examples, native, ethereum, ethereum_vm, other";
# Functions should return 0 on success and 1 on failure
RV=0
run_tests_from_dir native
RV=$(($RV + $?))
run_tests_from_dir ethereum
RV=$(($RV + $?))
make_vmtests; run_tests_from_dir ethereum_vm
RV=$(($RV + $?))
make_wasm_tests; run_tests_from_dir wasm
RV=$(($RV + $?))
make_wasm_sym_tests; run_tests_from_dir wasm_sym
RV=$(($RV + $?))
run_tests_from_dir other
RV=$(($RV + $?))
run_examples
RV=$(($RV + $?))
;;
*)
echo "Usage: $0 [examples|native|ethereum|ethereum_vm|other|all]"
echo "Unknown TEST_TYPE: '$TEST_TYPE'"
exit 3;
;;
esac
Expand Down

0 comments on commit efdf627

Please sign in to comment.