Skip to content

Commit 7eafee6

Browse files
committed
cleanup actions ci file
removes un-needed comments
1 parent 9b1d69a commit 7eafee6

File tree

1 file changed

+1
-50
lines changed

1 file changed

+1
-50
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,64 +5,17 @@ jobs:
55
name: ResetPassword
66
runs-on: ubuntu-latest
77

8-
# services:
9-
# mysql:
10-
# image: mysql:5.7
11-
# env:
12-
# MYSQL_ALLOW_EMPTY_PASSWORD: false
13-
# MYSQL_ROOT_PASSWORD: password
14-
# ports:
15-
# - 3306
16-
# options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
178
strategy:
189
fail-fast: false
1910
matrix:
2011
php-versions: ['7.2', '7.3', '7.4']
12+
2113
steps:
2214
- name: Checkout
2315
uses: actions/[email protected]
2416

25-
# - name: Ping MySQL
26-
# run: |
27-
# while ! mysqladmin ping -h"127.0.0.1" -P"3306" --silent; do
28-
# sleep 1
29-
# done
30-
31-
# - name: Test MySQL
32-
# run: |
33-
# mysql -h"127.0.0.1" -P${{ job.services.mysql.ports['3306'] }} -uroot -ppassword -e "SHOW DATABASES"
34-
35-
# - name: Get Composer Cache Directory
36-
# id: composer-cache
37-
# run: |
38-
# echo "::set-output name=dir::$(composer config cache-files-dir)"
39-
#
40-
# - uses: actions/cache@v1
41-
# with:
42-
# path: ${{ steps.composer-cache.outputs.dir }}
43-
# # As no lock file is committed, key is composer.json temporarily until artifacts are setup
44-
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
45-
# restore-keys: |
46-
# ${{ runner.os }}-composer-
47-
4817
- name: Install dependencies
49-
# if: steps.composer-cache.outputs.cache-hit != 'true'
5018
run: composer install --prefer-dist --no-progress --no-suggest
51-
#
52-
# - name: Create test database
53-
# run: bin/console doctrine:database:create -n
54-
# env:
55-
# DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/reset_password_bundle_ci?serverVersion=5.7
56-
#
57-
# - name: Execute migrations
58-
# run: bin/console doctrine:migrations:migrate -n
59-
# env:
60-
# DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/reset_password_bundle_ci?serverVersion=5.7
61-
#
62-
# - name: Load fixtures
63-
# run: bin/console doctrine:fixtures:load -n
64-
# env:
65-
# DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/reset_password_bundle_ci?serverVersion=5.7
6619

6720
- name: Check src with php-cs-Fixer
6821
run: vendor/bin/php-cs-fixer fix --config ./.php_cs.dist --diff --diff-format udiff --dry-run
@@ -74,5 +27,3 @@ jobs:
7427
- name: Unit Tests
7528
run: vendor/bin/simple-phpunit -c $GITHUB_WORKSPACE/phpunit.xml.dist
7629
if: always()
77-
# env:
78-
# DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/reset_password_bundle_ci?serverVersion=5.7

0 commit comments

Comments
 (0)