Skip to content

Commit c57bf0e

Browse files
Push coverage to .github
1 parent 0b0cbe7 commit c57bf0e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ jobs:
3535

3636
- name: phpunit-coverage-badge
3737
uses: timkrase/[email protected]
38+
with:
39+
coverage_badge_path: .github/coverage.svg
40+
push_badge: false
41+
42+
- name: Git push to image-data branch
43+
uses: peaceiris/actions-gh-pages@v3
44+
with:
45+
publish_dir: .github
46+
publish_branch: image-data
47+
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
user_name: 'github-actions[bot]'
49+
user_email: 'github-actions[bot]@users.noreply.github.com'
3850

3951
- name: PHPStan analysis
4052
run: vendor/bin/phpstan

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![Latest Unstable Version](https://poser.pugx.org/paragonie/halite/v/unstable)](https://packagist.org/packages/paragonie/halite)
77
[![License](https://poser.pugx.org/paragonie/halite/license)](https://packagist.org/packages/paragonie/halite)
88
[![Downloads](https://img.shields.io/packagist/dt/paragonie/halite.svg)](https://packagist.org/packages/paragonie/halite)
9+
[![Coverage Status](https://github.com/paragonie/halite/.github/coverage.svg)](https://github.com/paragonie/halite/actions/workflows/ci.yml)
910

1011
**Halite** is a high-level cryptography interface that relies on [libsodium](https://pecl.php.net/package/libsodium)
1112
for all of its underlying cryptography operations.

0 commit comments

Comments
 (0)