Skip to content

Commit bdc4647

Browse files
Create docker_compose.yml file
1 parent 39871ba commit bdc4647

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/docker_compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Docker Compose
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Build and run Docker Compose
17+
run: |
18+
docker-compose up --build -d

.github/workflows/phpunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
laravel-tests:
10+
project-tests:
1111

1212
runs-on: ubuntu-latest
1313

@@ -30,7 +30,7 @@ jobs:
3030
LARAVEL_BYPASS_ENV_CHECK: 1
3131
run: npm install && npm run dev &
3232
- name: Wait for server to start
33-
run: sleep 10s # Adjust this time according to your server startup time
33+
run: sleep 10s
3434
- name: Execute tests (Unit and Feature tests) via PHPUnit
3535
env:
3636
DB_CONNECTION: sqlite

0 commit comments

Comments
 (0)