Skip to content

Commit

Permalink
README.md badges update; added codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
iganev committed Feb 29, 2024
1 parent 1d4dc58 commit 9fa9865
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: coverage

on: [push]
jobs:
test:
name: coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
fail_ci_if_error: true
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[![Crates.io](https://img.shields.io/crates/v/recaptcha-verify?color=4d76ae)](https://crates.io/crates/recaptcha-verify)
[![API](https://docs.rs/recaptcha-verify/badge.svg)](https://docs.rs/recaptcha-verify)
[![Build and Test](https://github.com/iganev/recaptcha-verify/actions/workflows/rust.yml/badge.svg)](https://github.com/iganev/recaptcha-verify/actions/workflows/rust.yml)
[![dependency status](https://deps.rs/repo/github/iganev/recaptcha-verify/status.svg)](https://deps.rs/repo/github/iganev/recaptcha-verify)
[![Build and Test](https://github.com/iganev/recaptcha-verify/actions/workflows/rust.yml/badge.svg)](https://github.com/iganev/recaptcha-verify/actions/workflows/rust.yml)
[![codecov](https://codecov.io/github/iganev/recaptcha-verify/graph/badge.svg?token=B5P2TAV5BB)](https://codecov.io/github/iganev/recaptcha-verify)


# recaptcha-verify
Simple, bare-minimum recaptcha verifier helper
Expand Down

0 comments on commit 9fa9865

Please sign in to comment.