diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 10d29de..59d31de 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -111,11 +111,11 @@ jobs: needs: [ build-rust ] runs-on: ubuntu-22.04 - strategy: - matrix: - features: - - "" - - "sockets" +# strategy: +# matrix: +# features: +# - "" +# - "sockets" steps: - uses: actions/checkout@v3 diff --git a/dev/test b/dev/test new file mode 100755 index 0000000..c40a0ea --- /dev/null +++ b/dev/test @@ -0,0 +1,43 @@ +#!/bin/bash -e + +SD=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +cd $SD + +#source beamdev noop + +#function start() { +# trap "echo; echo; clean" EXIT +# start_bg +#} + +#function test() { +# for test in test_*.sh; do +# echo "=======" +# echo "=> $(basename $test) ..." +# source $test +# done +# +# echo -e " ${COL_GREEN}All tests have completed successfully.${COL_NONE}" +#} + +case "$1" in + noci) + test + shift + cargo test $@ + ;; + ci) +# start +# test + shift + for testbin in $SD/../testbinaries/*; do + chmod +x $testbin + $testbin + done + ;; + *) + echo "Usage: $0 noci|ci" + exit 1 + ;; +esac