test
This commit is contained in:
parent
186bae4785
commit
758fea8a11
4
.github/tests.sh
vendored
4
.github/tests.sh
vendored
@ -8,7 +8,9 @@ set -o pipefail
|
||||
|
||||
until (curl -I --silent --fail localhost | grep -iq "HTTP/1.1 200 OK"); do
|
||||
echo "wait for zammad to be ready..."
|
||||
docker-compose logs
|
||||
sleep 15
|
||||
clear
|
||||
done
|
||||
|
||||
echo "Zammad is up :)"
|
||||
@ -17,5 +19,3 @@ echo "Zammad is up :)"
|
||||
# set -o errexit
|
||||
# bundle exec rails test test/unit/user_test.rb
|
||||
# EOF
|
||||
|
||||
docker-compose logs
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
- name: pull container images
|
||||
run: docker-compose pull
|
||||
- name: run docker-compose up
|
||||
run: docker-compose up &
|
||||
run: docker-compose up --detach
|
||||
- name: run tests
|
||||
run: .github/tests.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user