Skip to content

Commit

Permalink
add readme badges, codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Jul 1, 2022
1 parent 803a28d commit 274d1d0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Consideration Test CI
name: Seaport Test CI

on: [push, pull_request]

Expand Down Expand Up @@ -150,10 +150,10 @@ jobs:
- run: yarn install
- run: yarn build
- run: yarn coverage
- uses: VeryGoodOpenSource/very_good_coverage@v1
- uses: codecov/codecov-action@v3
with:
path: "./coverage/lcov.info"
min_coverage: 100
files: ./coverage/lcov.info
flags: production

reference-coverage:
name: Run Reference Coverage Tests
Expand All @@ -177,7 +177,7 @@ jobs:
- run: yarn build
- run: yarn build:ref
- run: yarn coverage:ref
- uses: VeryGoodOpenSource/very_good_coverage@v1
- uses: codecov/codecov-action@v3
with:
path: "./coverage/lcov.info"
min_coverage: 100
files: ./coverage/lcov.info
flags: reference
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
![Seaport](img/Seaport-banner.png)

[![Version][version-badge]][version-link]
[![Test CI][ci-badge]][ci-link]
[![Code Coverage][coverage-badge]][coverage-link]
[![License][license-badge]][license-link]
[![Docs][docs-badge]][docs-link]
[![Discussions][discussions-badge]][discussions-link]

# Seaport

Seaport is a new marketplace protocol for safely and efficiently buying and selling NFTs.
Expand Down Expand Up @@ -223,3 +230,16 @@ When making a pull request, ensure that:
## License

[MIT](LICENSE) Copyright 2022 Ozone Networks, Inc.

[version-badge]: https://img.shields.io/github/package-json/v/ProjectOpenSea/seaport
[version-link]: https://github.com/ProjectOpenSea/seaport/releases
[ci-badge]: https://github.com/ProjectOpenSea/seaport/actions/workflows/test.yml/badge.svg
[ci-link]: https://github.com/ProjectOpenSea/seaport/actions/workflows/test.yml
[coverage-badge]: https://codecov.io/gh/ProjectOpenSea/seaport/branch/master/graph/badge.svg
[coverage-link]: https://codecov.io/gh/ProjectOpenSea/seaport
[license-badge]: https://img.shields.io/github/license/ProjectOpenSea/seaport
[license-link]: https://github.com/ProjectOpenSea/seaport/blob/main/LICENSE
[docs-badge]: https://img.shields.io/badge/Seaport-documentation-informational
[docs-link]: https://github.com/ProjectOpenSea/seaport/tree/main/docs
[discussions-badge]: https://img.shields.io/badge/Seaport-discussions-blueviolet
[discussions-link]: https://github.com/ProjectOpenSea/seaport/discussions
11 changes: 11 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
range: 100..100
round: down
precision: 2
status:
project:
default:
target: auto
threshold: 0%
base: auto
if_ci_failed: error

0 comments on commit 274d1d0

Please sign in to comment.