Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify ci.yml #1588

Merged
merged 1 commit into from
Jan 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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