Skip to content

Commit 03abc90

Browse files
author
Daniel Mellum
committed
github actions why you no run?
1 parent ee77e0a commit 03abc90

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

docker-compose.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,8 @@ services:
4242
- MDB_HOST=mongo
4343
- MDB_PORT=27017
4444

45-
command: "cp /var/testing/docker/entrypoint.sh /entrypoint.sh && chmod +x /entrypoint.sh"
46-
4745
entrypoint:
48-
- ./entrypoint.sh
49-
46+
- ./entrypoint.shs
5047

5148
networks:
5249
laravel-log-to-db-testing:

docker/php8/entrypoint.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
#!/bin/bash
22
export DEBIAN_FRONTEND=noninteractive
3-
bash <(cat /etc/os-release; echo 'echo ${VERSION/*, /}')
43
php -v
5-
cd /var/testing &&
6-
composer install --no-interaction &&
7-
dockerize -wait tcp://mariadb:3306 -timeout 1m &&
8-
./vendor/bin/phpunit --coverage-clover coverage.xml &&
9-
curl -Os https://uploader.codecov.io/latest/linux/codecov &&
10-
chmod +x codecov &&
11-
./codecov
4+
cd /var/testing && chmod +x ./runTests && ./runTests.sh

runTests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
composer install --no-interaction
3+
dockerize -wait tcp://mariadb:3306 -timeout 1m &&
4+
./vendor/bin/phpunit --coverage-clover coverage.xml &&
5+
curl -Os https://uploader.codecov.io/latest/linux/codecov &&
6+
chmod +x codecov &&
7+
./codecov

0 commit comments

Comments
 (0)