Skip to content

Commit e8ac379

Browse files
author
Daniel Mellum
committed
testing the testing with github action
1 parent cb05f7d commit e8ac379

File tree

5 files changed

+12
-35
lines changed

5 files changed

+12
-35
lines changed

.circleci/php8/Dockerfile

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

.github/workflows/docker.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,12 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v1
1919

20-
- name: Start containers and Run tests
21-
run: docker-compose up -d --build
20+
- name: Start containers
21+
run: docker-compose up -d mariadb mongo
22+
23+
- name: Start test container
24+
run: docker-compose up php8
25+
26+
- name: Cleanup containers
27+
run: docker-compose down
28+

buildDockerImages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22
echo "Building PHP8 image..." &&
3-
cd ./docker/php8 && docker build . -t danielme/laravel-php8:latest
3+
cd ./docker/php8 && docker build . -t ghcr.io/danielme85/lltdb-testbench:latest

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ services:
2222
- "27888:27017"
2323

2424
php8:
25+
image: ghcr.io/danielme85/lltdb-testbench
2526
container_name: laravel-log-to-db-php8
2627
build:
2728
context: ./docker/php8/

runLocalTestInDocker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
docker-compose up -d mariadb mongo &&
3-
docker-compose up php8 --build php8 &&
3+
docker-compose up php8 &&
44
docker-compose down

0 commit comments

Comments
 (0)