File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 sys.exit(f"Coverage {pct:.2f}% is below the {THRESHOLD}% threshold")
7373 PY
7474
75+ # Powers the coverage badge on the repo/README - requires the CODECOV_TOKEN repo
76+ # secret (from codecov.io, after activating this repo there). Separate from the
77+ # threshold check above, which stays local and doesn't depend on this succeeding.
78+ - name : Upload coverage reports to Codecov
79+ uses : codecov/codecov-action@v5
80+ with :
81+ token : ${{ secrets.CODECOV_TOKEN }}
82+ directory : ./coverage
83+
7584 # Validates the package actually builds correctly across both target frameworks - this is
7685 # NOT a publish step, nothing here touches NuGet.org. No artifact is uploaded either, since
7786 # this is only a packaging sanity check, not a release.
Original file line number Diff line number Diff line change 11# Monnify .NET SDK
22
33[ ![ CI] ( https://github.com/Monnify/monnify-dotnet-lib/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Monnify/monnify-dotnet-lib/actions/workflows/ci.yml )
4+ [ ![ codecov] ( https://codecov.io/gh/Monnify/monnify-dotnet-lib/branch/main/graph/badge.svg )] ( https://codecov.io/gh/Monnify/monnify-dotnet-lib )
45[ ![ NuGet] ( https://img.shields.io/nuget/v/Monnify.svg )] ( https://www.nuget.org/packages/Monnify )
56
67An idiomatic .NET SDK for the [ Monnify] ( https://developers.monnify.com )
You can’t perform that action at this time.
0 commit comments