1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-12 03:14:03 +00:00

Merge pull request #15 from gauravmak/master

Docker-compose not required
This commit is contained in:
Samuel Štancl 2022-03-09 15:07:54 +01:00 committed by GitHub
commit db2d96ec06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 18 deletions

1
.gitattributes vendored
View file

@ -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

View file

@ -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
View file

@ -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

View file

@ -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}"