Commit 2706303 1 parent 62d4a1f commit 2706303 Copy full SHA for 2706303
File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ DB_CONNECTION = mysql
2
+ DB_HOST = mysql
3
+ DB_PORT = 3306
4
+ DB_DATABASE = test
5
+ DB_USERNAME = root
6
+ DB_PASSWORD = password
Original file line number Diff line number Diff line change
1
+ on : push
2
+ name : CI
3
+ jobs :
4
+ phpunit :
5
+ runs-on : ubuntu-latest
6
+ container :
7
+ image : kirschbaumdevelopment/laravel-test-runner:8.3
8
+
9
+ services :
10
+ mysql :
11
+ image : mysql:8.3
12
+ env :
13
+ MYSQL_ROOT_PASSWORD : password
14
+ MYSQL_DATABASE : test
15
+ ports :
16
+ - 33306:3306
17
+ options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
18
+
19
+ steps :
20
+ - uses : actions/checkout@v1
21
+ with :
22
+ fetch-depth : 1
23
+
24
+ - name : Install composer dependencies
25
+ run : |
26
+ composer install --no-scripts
27
+
28
+ - name : Prepare Venture
29
+ run : |
30
+ cp .env.ci .env
31
+ php artisan key:generate
32
+
33
+ - name : Run Testsuite
34
+ run : vendor/bin/pest tests/
35
+
36
+ # - name: Deploy to Laravel Forge
37
+ # run: curl ${{ secrets.FORGE_DEPLOYMENT_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments