actions: run docker tests (#74)

pull/92/head
Jake McGinty 2021-05-20 11:43:52 +09:00 committed by GitHub
parent 25a4a0eb41
commit 05161fccc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

21
.github/workflows/docker-tests.yml vendored Normal file
View File

@ -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

View File

@ -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)