Skip to content

Commit

Permalink
Switch to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff S committed Mar 4, 2022
1 parent 9947d3c commit 4e8e374
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Run tests
run: poetry run pytest --cache-clear tests

comment-coverage:
coverage:
if: github.event.pull_request
runs-on: ubuntu-latest
steps:
Expand All @@ -103,6 +103,6 @@ jobs:
- name: Install project and its dependencies
run: poetry install
- name: Build coverage file
run: poetry run pytest --cache-clear --cov=krux tests > pytest-coverage.txt
- name: Comment coverage
uses: coroo/pytest-coverage-commentator@v1.0.2
run: poetry run pytest --cache-clear --cov --cov-report xml tests
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v2
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██████ ██ ██

[![codecov](https://codecov.io/gh/jreesun/krux/branch/main/graph/badge.svg)](https://codecov.io/gh/jreesun/krux)

Krux is an open-source DIY hardware signer for Bitcoin that can sign for multisignature and single-key wallets. It is a low-cost airgapped device built from off-the-shelf parts that communicates with wallet software via QR codes and wipes its memory after every session.

---
Expand Down

0 comments on commit 4e8e374

Please sign in to comment.