actions: run docker tests (#74)
parent
25a4a0eb41
commit
05161fccc3
|
@ -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
|
||||||
|
|
|
@ -10,7 +10,7 @@ cmd() {
|
||||||
}
|
}
|
||||||
|
|
||||||
info() {
|
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)
|
tmp_dir=$(mktemp -d -t innernet-tests-XXXXXXXXXX)
|
||||||
|
|
Loading…
Reference in New Issue