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
f22075f5
Commit
f22075f5
authored
Oct 21, 2019
by
Smolevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ci configuration
parent
002a9ed4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
blank.yml
.github/workflows/blank.yml
+21
-6
No files found.
.github/workflows/blank.yml
View file @
f22075f5
...
@@ -20,6 +20,14 @@ jobs:
...
@@ -20,6 +20,14 @@ jobs:
run
:
|
run
:
|
docker version
docker version
docker-compose version
docker-compose version
-
name
:
Debug if needed
run
:
|
export DEBUG=${DEBUG:-false}
if [[ "$DEBUG" == "true" ]]; then
env
fi
env
:
DEBUG
:
${{secrets.DEBUG}}
-
name
:
Build docker images
-
name
:
Build docker images
run
:
|
run
:
|
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
...
@@ -28,9 +36,16 @@ jobs:
...
@@ -28,9 +36,16 @@ jobs:
docker-compose run --rm tests composer install --no-interaction
docker-compose run --rm tests composer install --no-interaction
-
name
:
Generating code coverage
-
name
:
Generating code coverage
run
:
|
run
:
|
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-php ./coverage.cov
docker-compose run --rm tests mkdir -p build/logs
-
name
:
Coveralls Parallel
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
uses
:
coverallsapp/github-action@master
-
name
:
Send coveralls
with
:
run
:
|
github-token
:
${{ secrets.github_token }}
docker-compose run --rm tests mkdir -p build/logs
path-to-lcov
:
./coverage.cov
docker-compose run --rm \
-e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
-e COVERALLS_RUN_LOCALLY=${COVERALLS_RUN_LOCALLY} \
tests \
vendor/bin/php-coveralls -v
env
:
COVERALLS_RUN_LOCALLY
:
${{secrets.COVERALLS_RUN_LOCALLY}}
COVERALLS_REPO_TOKEN
:
${{secrets.COVERALLS_REPO_TOKEN}}
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