Skip to content

Commit

Permalink
Basic codecov config (#187)
Browse files Browse the repository at this point in the history
* codecov excludes

* path exclusion
  • Loading branch information
decentralgabe committed Sep 9, 2022
1 parent c8caffd commit 0c0e2b7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
codecov:
precision: 2
round: nearest
range: "80...100"
require_ci_to_pass: yes
notify:
after_n_builds: 2
wait_for_ci: yes
ignore:
- doc/**/*
- util/**/*
- example/**/*
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![license Apache 2](https://img.shields.io/badge/license-Apache%202-black)](https://github.com/TBD54566975/ssi-sdk/blob/main/LICENSE)
[![issues](https://img.shields.io/github/issues/TBD54566975/ssi-sdk)](https://github.com/TBD54566975/ssi-sdk/issues)
![ssi-sdk-ci status](https://github.com/TBD54566975/ssi-sdk/workflows/ssi-sdk-ci/badge.svg?branch=main&event=push)
[![codecov](https://codecov.io/gh/TBD54566975/ssi-sdk/branch/main/graph/badge.svg?token=8SD0TO9Z9E)](https://codecov.io/gh/TBD54566975/ssi-sdk)

# ssi-sdk

Expand Down
2 changes: 1 addition & 1 deletion did/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (d DIDKey) Decode() ([]byte, cryptosuite.LDKeyType, error) {
}
}

// Expand turns the DID key into a complaint DID Document
// Expand turns the DID key into a compliant DID Document
func (d DIDKey) Expand() (*DIDDocument, error) {
keyReference := "#" + d.Parse()
id := string(d)
Expand Down

0 comments on commit 0c0e2b7

Please sign in to comment.