File tree Expand file tree Collapse file tree 5 files changed +60
-4
lines changed Expand file tree Collapse file tree 5 files changed +60
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Code Coverage
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ coverage :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Set up PHP
20
+ uses : shivammathur/setup-php@v2
21
+ with :
22
+ php-version : ' 8.1'
23
+
24
+ - name : Install dependencies
25
+ run : composer install
26
+
27
+ - name : Run tests and collect coverage
28
+ run : vendor/bin/phpunit --coverage-clover coverage.xml
29
+
30
+ - name : Upload coverage to Codecov
31
+ uses : codecov/codecov-action@v5
32
+ with :
33
+ token : ${{ secrets.CODECOV_TOKEN }}
34
+ files : ./coverage.xml
35
+ fail_ci_if_error : true
36
+ verbose : true
Original file line number Diff line number Diff line change 1
1
# Neo4j Query API client
2
2
3
+ ## Badges
4
+
5
+ ![ License] ( https://img.shields.io/github/license/nagels-tech/neo4j-query-api )
6
+ ![ Tests] ( https://github.com/nagels-tech/neo4j-query-api/actions/workflows/tests.yml/badge.svg )
7
+ ![ Version] ( https://img.shields.io/github/v/release/nagels-tech/neo4j-query-api )
8
+ [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/2cb8a1e71ed04987b1c763a09e196c84 )] ( https://app.codacy.com/gh/nagels-tech/neo4j-query-api/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade )
9
+ ![ Code Coverage] ( https://img.shields.io/codecov/c/github/nagels-tech/neo4j-query-api )
10
+ ![ Downloads] ( https://img.shields.io/packagist/dt/nagels-tech/neo4j-query-api )
11
+
12
+
3
13
## Interact programmatically with Top Graph Technology
4
14
5
15
- Easy to start with, just build your client in one line and start running queries
@@ -147,4 +157,14 @@ If you discover any security-related issues, please email *
[email protected] *
147
157
148
158
## License
149
159
150
- The MIT License (MIT). Please see [ License File] ( LICENSE ) for more information.
160
+ The MIT License (MIT). Please see [ License File] ( LICENSE ) for more information.
161
+
162
+
163
+ ## Badges
164
+
165
+ ![ License] ( https://img.shields.io/github/license/nagels-tech/neo4j-query-api )
166
+ ![ Tests] ( https://github.com/nagels-tech/neo4j-query-api/actions/workflows/tests.yml/badge.svg )
167
+ ![ Version] ( https://img.shields.io/github/v/release/nagels-tech/neo4j-query-api )
168
+ ![ Code Quality] ( https://img.shields.io/codeclimate/maintainability/nagels-tech/neo4j-query-api )
169
+ ![ Code Coverage] ( https://img.shields.io/codecov/c/github/nagels-tech/neo4j-query-api )
170
+ ![ Downloads] ( https://img.shields.io/packagist/dt/nagels-tech/neo4j-query-api )
Original file line number Diff line number Diff line change 11
11
},
12
12
"require-dev" : {
13
13
"guzzlehttp/guzzle" : " ^7.9" ,
14
- "phpunit/phpunit" : " ^10 .0" ,
14
+ "phpunit/phpunit" : " ^12 .0" ,
15
15
"friendsofphp/php-cs-fixer" : " ^3.68" ,
16
16
"vimeo/psalm" : " ^6.8" ,
17
17
"dg/bypass-finals" : " ^1.9" ,
Original file line number Diff line number Diff line change
1
+ Subproject commit cc774c46121e94e11d003447e967ac63574dff5a
Original file line number Diff line number Diff line change 15
15
use Neo4j \QueryAPI \Objects \Authentication ;
16
16
use RuntimeException ;
17
17
18
-
19
- class Neo4jRequestFactoryTest extends TestCase
18
+ final class Neo4jRequestFactoryTest extends TestCase
20
19
{
21
20
private RequestFactoryInterface &\PHPUnit \Framework \MockObject \MockObject $ psr17Factory ;
22
21
private StreamFactoryInterface &\PHPUnit \Framework \MockObject \MockObject $ streamFactory ;
You can’t perform that action at this time.
0 commit comments