kuzzleio / sdk-php

Official php SDK for Kuzzle
http://docs.kuzzle.io/sdk-reference
Apache License 2.0
6 stars 1 forks source link

Runner sdk-php documentation snippets tests #112

Closed Yoann-Abbes closed 4 years ago

Yoann-Abbes commented 5 years ago

What does this PR do ?

This PR adds a runner for the snippets tests on the sdk-php documentation.

How should this be manually tested?

docker-compose -f .ci/doc/docker-compose.yml run doc-tests node index

Other changes

Boyscout

codecov[bot] commented 5 years ago

Codecov Report

Merging #112 into 4-dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            4-dev     #112   +/-   ##
=======================================
  Coverage   96.71%   96.71%           
=======================================
  Files          17       17           
  Lines        1582     1582           
=======================================
  Hits         1530     1530           
  Misses         52       52

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a2c9d77...a247b20. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #112 into 4-dev will decrease coverage by 4.19%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            4-dev     #112     +/-   ##
=========================================
- Coverage   96.71%   92.51%   -4.2%     
=========================================
  Files          17       17             
  Lines        1582     1537     -45     
=========================================
- Hits         1530     1422    -108     
- Misses         52      115     +63
Impacted Files Coverage Δ
src/Kuzzle.php 69.2% <0%> (-20.42%) :arrow_down:
src/Index.php 95.29% <0%> (-0.63%) :arrow_down:
src/Util/CurlRequest.php 96.87% <0%> (-0.19%) :arrow_down:
src/MemoryStorage.php 96.66% <0%> (-0.11%) :arrow_down:
src/Document.php 99.11% <0%> (-0.08%) :arrow_down:
src/Security/Security.php 99.52% <0%> (-0.05%) :arrow_down:
src/Collection.php 100% <0%> (ø) :arrow_up:
src/Bulk.php 100% <0%> (ø) :arrow_up:
src/Server.php 100% <0%> (ø) :arrow_up:
src/Auth.php 100% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a2c9d77...00febfa. Read the comment docs.

Aschen commented 4 years ago

I'm sorry but I'm closing this PR since this SDK is deprecated and don't work with Kuzzle v2.
I keep the branch in the case we release a PHP SDK for Kuzzle v2 so we already have a documentation runner