Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
44ee19c7
Commit
44ee19c7
authored
Jan 22, 2020
by
Alex Renoki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better names for steps
parent
18c62a34
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
build-ci.yml
.github/workflows/build-ci.yml
+6
-6
No files found.
.github/workflows/build-ci.yml
View file @
44ee19c7
...
@@ -27,20 +27,20 @@ jobs:
...
@@ -27,20 +27,20 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD
:
'
yes'
MYSQL_ALLOW_EMPTY_PASSWORD
:
'
yes'
MYSQL_DATABASE
:
'
unittest'
MYSQL_DATABASE
:
'
unittest'
MYSQL_ROOT_PASSWORD
:
MYSQL_ROOT_PASSWORD
:
name
:
PHP
${{ matrix.php }} with mongo
${{ matrix.mongodb }}
name
:
PHP
v${{ matrix.php }} with Mongo v
${{ matrix.mongodb }}
steps
:
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
actions/checkout@v1
-
name
:
Show
php
version
-
name
:
Show
PHP
version
run
:
php${{ matrix.php }} -v && composer -V
run
:
php${{ matrix.php }} -v && composer -V
-
name
:
Debug if needed
-
name
:
Show Docker version
run
:
if [[ "$DEBUG" == "true" ]]; then docker version && env; fi
run
:
if [[ "$DEBUG" == "true" ]]; then docker version && env; fi
env
:
env
:
DEBUG
:
${{secrets.DEBUG}}
DEBUG
:
${{secrets.DEBUG}}
-
name
:
Get Composer Cache Directory
-
name
:
Download Composer cache
id
:
composer-cache
id
:
composer-cache
run
:
echo "::set-output name=dir::$(composer config cache-files-dir)"
run
:
echo "::set-output name=dir::$(composer config cache-files-dir)"
-
name
:
Cache dependencies
-
name
:
Cache
Composer
dependencies
uses
:
actions/cache@v1
uses
:
actions/cache@v1
with
:
with
:
path
:
${{ steps.composer-cache.outputs.dir }}
path
:
${{ steps.composer-cache.outputs.dir }}
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
composer install --no-interaction
composer install --no-interaction
-
name
:
Generating code coverage
-
name
:
Run tests
run
:
|
run
:
|
mkdir -p build/logs
mkdir -p build/logs
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment