tests: use github actions instead of circleci for test running

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-09 16:49:18 -05:00
parent 3c5a3fdd7c
commit a7465f9d81
16 changed files with 438 additions and 297 deletions

15
.github/commands/ci-run vendored Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eo pipefail
main() {
declare FILE_NAME="$1"
mkdir -p test-results/bats
pushd tests/unit >/dev/null
bats --report-formatter junit --output ../../test-results/bats "$FILE_NAME.bats"
popd >/dev/null
ls -lah test-results/bats
}
main "$@"