File tree Expand file tree Collapse file tree 3 files changed +37
-4
lines changed Expand file tree Collapse file tree 3 files changed +37
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Coverage Check
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ coverage :
11
+ name : PHPUnit Coverage Check
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Setup PHP
19
+ uses : shivammathur/setup-php@v2
20
+ with :
21
+ php-version : ' 8.4'
22
+ extensions : mbstring, intl, sodium
23
+ ini-values : error_reporting=-1, display_errors=On
24
+ coverage : xdebug
25
+
26
+ - name : Install Composer dependencies
27
+ uses : " ramsey/composer-install@v3"
28
+
29
+ - name : PHPUnit tests with coverage
30
+ run : vendor/bin/phpunit --coverage-clover build/logs/clover.xml
31
+
32
+ - name : Check for 100% coverage
33
+ uses :
michaelpetri/[email protected]
34
+ with :
35
+ clover-file : build/logs/clover.xml
36
+ min-coverage : 100
Original file line number Diff line number Diff line change 6
6
[ ![ Latest Unstable Version] ( https://poser.pugx.org/paragonie/halite/v/unstable )] ( https://packagist.org/packages/paragonie/halite )
7
7
[ ![ License] ( https://poser.pugx.org/paragonie/halite/license )] ( https://packagist.org/packages/paragonie/halite )
8
8
[ ![ Downloads] ( https://img.shields.io/packagist/dt/paragonie/halite.svg )] ( https://packagist.org/packages/paragonie/halite )
9
- [ ![ Coverage Status] ( https://coveralls.io/repos/github/ paragonie/halite/badge.svg?branch=master )] ( https://coveralls.io/github/ paragonie/halite?branch=master )
9
+ [ ![ Coverage Status] ( https://github.com/ paragonie/halite/actions/workflows/coverage.yml/ badge.svg )] ( https://github.com/ paragonie/halite/actions/workflows/coverage.yml )
10
10
11
11
** Halite** is a high-level cryptography interface that relies on [ libsodium] ( https://pecl.php.net/package/libsodium )
12
12
for all of its underlying cryptography operations.
You can’t perform that action at this time.
0 commit comments