File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 7
7
branches : [ master ]
8
8
9
9
jobs :
10
- laravel -tests :
10
+ project -tests :
11
11
12
12
runs-on : ubuntu-latest
13
13
30
30
LARAVEL_BYPASS_ENV_CHECK : 1
31
31
run : npm install && npm run dev &
32
32
- name : Wait for server to start
33
- run : sleep 10s # Adjust this time according to your server startup time
33
+ run : sleep 10s
34
34
- name : Execute tests (Unit and Feature tests) via PHPUnit
35
35
env :
36
36
DB_CONNECTION : sqlite
You can’t perform that action at this time.
0 commit comments