mirror of
https://github.com/tj/n.git
synced 2024-12-01 14:41:07 +01:00
15 lines
359 B
Plaintext
15 lines
359 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
BIN_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
|
||
|
services=( ubuntu-curl ubuntu-wget )
|
||
|
|
||
|
cd "$(dirname "${BIN_DIRECTORY}")" || exit 2
|
||
|
for service in "${services[@]}" ; do
|
||
|
echo "${service}"
|
||
|
docker-compose run --rm "${service}" "bats" "/mnt/tests"
|
||
|
echo ""
|
||
|
done
|
||
|
|
||
|
uname -s
|
||
|
../node_modules/.bin/bats tests
|