mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
Merge pull request #15 from gauravmak/master
Docker-compose not required
This commit is contained in:
commit
db2d96ec06
4 changed files with 0 additions and 18 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -2,7 +2,6 @@
|
||||||
/.gitattributes export-ignore
|
/.gitattributes export-ignore
|
||||||
/.gitignore export-ignore
|
/.gitignore export-ignore
|
||||||
|
|
||||||
/docker-compose.yml export-ignore
|
|
||||||
/tests export-ignore
|
/tests export-ignore
|
||||||
|
|
||||||
/phpstan.neon export-ignore
|
/phpstan.neon export-ignore
|
||||||
|
|
|
||||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -3,7 +3,6 @@ name: CI
|
||||||
env:
|
env:
|
||||||
COMPOSE_INTERACTIVE_NO_CLI: 1
|
COMPOSE_INTERACTIVE_NO_CLI: 1
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
PHP_CS_FIXER_IGNORE_ENV: 1
|
||||||
MYSQL_PORT: 3307
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
@ -21,8 +20,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Start docker containers
|
|
||||||
run: docker-compose up -d
|
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
|
||||||
2
check
2
check
|
|
@ -43,8 +43,6 @@ else
|
||||||
offer_run './vendor/bin/phpstan analyse'
|
offer_run './vendor/bin/phpstan analyse'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(MYSQL_PORT=3307 docker-compose up -d > /dev/null 2>/dev/null) || true
|
|
||||||
|
|
||||||
if (./vendor/bin/pest > /dev/null 2>/dev/null); then
|
if (./vendor/bin/pest > /dev/null 2>/dev/null); then
|
||||||
echo '✅ PEST OK'
|
echo '✅ PEST OK'
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
mysql:
|
|
||||||
image: mysql:5.7
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: password
|
|
||||||
MYSQL_DATABASE: main
|
|
||||||
MYSQL_USER: user
|
|
||||||
MYSQL_PASSWORD: password
|
|
||||||
MYSQL_TCP_PORT: ${MYSQL_PORT}
|
|
||||||
ports:
|
|
||||||
- "${MYSQL_PORT}:${MYSQL_PORT}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue