Skip to content

Commit a85546a

Browse files
author
Daniel Mellum
committed
why no work?
1 parent 457debe commit a85546a

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

docker-compose.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ services:
4141
- MDB_DATABASE=logtodb
4242
- MDB_HOST=mongo
4343
- MDB_PORT=27017
44+
entrypoint: bash -c "
45+
cd /var/testing &&
46+
composer install --no-interaction &&
47+
dockerize -wait tcp://mariadb:3306 -timeout 1m &&
48+
./vendor/bin/phpunit --coverage-clover coverage.xml &&
49+
curl -Os https://uploader.codecov.io/latest/linux/codecov &&
50+
chmod +x codecov &&
51+
./codecov
52+
"
4453
4554
networks:
4655
laravel-log-to-db-testing:

docker/php8/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
export DEBIAN_FRONTEND=noninteractive
3+
bash <(cat /etc/os-release; echo 'echo ${VERSION/*, /}')
34
php -v
4-
cd /var/testing && chmod +x ./runTests.sh && ./runTests.sh
5+
echo "Entrypoint/Boot actions completed..."

runTests.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)