-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbd9010
commit 51f10b1
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ APP_URL=http://localhost | |
ADMIN_EMAIL=[email protected] | ||
CONFIG_BASE_PATH=config | ||
|
||
LOG_CHANNEL=null | ||
LOG_CHANNEL=single | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,28 +12,28 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: pull docker containers | ||
run: docker-compose pull mysql | ||
run: docker compose pull mysql | ||
|
||
- uses: satackey/[email protected] | ||
continue-on-error: true | ||
|
||
- name: build docker container | ||
run: docker-compose build | ||
run: docker compose build | ||
|
||
- name: PHP dependencies | ||
run: docker-compose run -u root:root app composer install | ||
run: docker compose run -u root:root app composer install | ||
|
||
- name: env | ||
run: cp .env.ci .env | ||
|
||
- name: laravel key | ||
run: docker-compose run -u root:root app php artisan key:generate | ||
run: docker compose run -u root:root app php artisan key:generate | ||
|
||
- name: start containers | ||
run: docker-compose up -d mysql | ||
run: docker compose up -d mysql | ||
|
||
- name: wait for mysql | ||
run: | | ||
|
@@ -42,13 +42,13 @@ jobs: | |
done | ||
- name: run migrations | ||
run: docker-compose run -u root:root app php artisan migrate | ||
run: docker compose run -u root:root app php artisan migrate | ||
|
||
- name: run tests | ||
env: | ||
MAILCHIMP_APIKEY: ${{ secrets.MAILCHIMP_APIKEY }} | ||
run: >- | ||
docker-compose | ||
docker compose | ||
run | ||
-u root:root | ||
-e MAILCHIMP_APIKEY=${MAILCHIMP_APIKEY} | ||
|
@@ -68,7 +68,7 @@ jobs: | |
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: >- | ||
docker-compose | ||
docker compose | ||
run | ||
-u root:root | ||
-e GITHUB_REF=${GITHUB_REF} | ||
|