Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiKalbe committed May 23, 2024
1 parent de7ed1a commit 228d7aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
- name: Run check
run: pixi r -e ${{ matrix.environment }} check

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

call-build-publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: [test, check]
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![PyPI](https://img.shields.io/pypi/v/resulty)](https://pypi.org/project/resulty/)
[![Python Version](https://img.shields.io/pypi/pyversions/resulty)](https://pypi.org/project/resulty/)
[![License](https://img.shields.io/pypi/l/resulty)](https://github.com/yourusername/resulty/blob/main/LICENSE)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/remikalbe/resulty/test-check.yaml)](https://github.com/RemiKalbe/resulty/actions/workflows/test-check.yaml)
[![Codecov](https://img.shields.io/codecov/c/github/remikalbe/resulty)]()

`Resulty` is a Python library that provides a `Result` type for handling errors and exceptions in a functional programming style, inspired by the `Result` type in Rust 🦀. It offers a wide range of methods and features to handle errors and exceptions in a more expressive and composable way.

Expand Down

0 comments on commit 228d7aa

Please sign in to comment.