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
f08f4e98
Commit
f08f4e98
authored
Nov 10, 2019
by
Smolevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ci configuration
parent
b0e7e0ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
build-ci.yml
.github/workflows/build-ci.yml
+20
-3
No files found.
.github/workflows/build-ci.yml
View file @
f08f4e98
...
@@ -12,6 +12,20 @@ jobs:
...
@@ -12,6 +12,20 @@ jobs:
strategy
:
strategy
:
matrix
:
matrix
:
php
:
[
7.1
,
7.2
,
7.3
]
php
:
[
7.1
,
7.2
,
7.3
]
services
:
mongo
:
image
:
mongo
ports
:
-
27017:27017
mysql
:
image
:
mysql:5.7
ports
:
-
3306:3306
env
:
MYSQL_ALLOW_EMPTY_PASSWORD
:
'
yes'
MYSQL_DATABASE
:
'
unittest'
MYSQL_ROOT_PASSWORD
:
steps
:
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
actions/checkout@v1
-
name
:
Show php version
-
name
:
Show php version
...
@@ -30,16 +44,19 @@ jobs:
...
@@ -30,16 +44,19 @@ jobs:
DEBUG
:
${{secrets.DEBUG}}
DEBUG
:
${{secrets.DEBUG}}
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
docker-compose run --rm tests
composer install --no-interaction
composer install --no-interaction
-
name
:
Generating code coverage
-
name
:
Generating code coverage
run
:
|
run
:
|
mkdir -p build/logs
mkdir -p build/logs
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
chmod -R 0777 build/logs
env
:
MONGO_HOST
:
0.0.0.0
MYSQL_HOST
:
0.0.0.0
-
name
:
Send coveralls
-
name
:
Send coveralls
run
:
|
run
:
|
ls -alt
ls -alt
composer global require cedx/coveralls
composer global require cedx/coveralls
export PATH="$PATH:~/.composer/vendor/bin/"
coveralls build/logs/clover.xml
coveralls build/logs/clover.xml
env
:
env
:
COVERALLS_RUN_LOCALLY
:
1
COVERALLS_RUN_LOCALLY
:
1
...
...
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