diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml new file mode 100644 index 0000000..e9a7aaa --- /dev/null +++ b/.github/workflows/docker-tests.yml @@ -0,0 +1,21 @@ +name: Docker tests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build the Docker images + run: docker-tests/build-docker-images.sh + - name: Run the Docker tests + run: docker-tests/run-docker-tests.sh + diff --git a/docker-tests/run-docker-tests.sh b/docker-tests/run-docker-tests.sh index d0afee2..f892e1e 100755 --- a/docker-tests/run-docker-tests.sh +++ b/docker-tests/run-docker-tests.sh @@ -10,7 +10,7 @@ cmd() { } info() { - TERM=${TERM:-dumb} echo -e "$(tput setaf 4)- $@$(tput sgr0)" 1>&2 + echo -e "\033[0;34m- $@\033[0m" 1>&2 } tmp_dir=$(mktemp -d -t innernet-tests-XXXXXXXXXX)