Skip to content

Commit

Permalink
Add Codecov (#181)
Browse files Browse the repository at this point in the history
* Update pipeline.yml

* Delete .coveralls.yml

* Update README.md
  • Loading branch information
jan-janssen authored Feb 11, 2025
1 parent 6ae60a8 commit 9a4efaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,11 @@ jobs:
pip install . --no-deps --no-build-isolation
coverage run --omit="pyfileindex/_version.py,tests/*" -m unittest discover tests
coverage xml
- name: Coveralls
- name: Upload coverage reports to Codecov
if: matrix.label == 'linux-64-py-3-12'
uses: coverallsapp/github-action@v2
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

unittest_old:
needs: [black]
Expand Down Expand Up @@ -161,4 +163,4 @@ jobs:
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
PyFileIndex - pythonic file system index

[![Pipeline](https://github.com/pyiron/pyfileindex/actions/workflows/pipeline.yml/badge.svg)](https://github.com/pyiron/pyfileindex/actions/workflows/pipeline.yml)
[![Coverage Status](https://coveralls.io/repos/github/pyiron/pyfileindex/badge.svg?branch=main)](https://coveralls.io/github/pyiron/pyfileindex?branch=main)
[![codecov](https://codecov.io/gh/pyiron/pyfileindex/graph/badge.svg?token=J9EWZBBKPH)](https://codecov.io/gh/pyiron/pyfileindex)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/pyiron/pyfileindex/main?filepath=notebooks%2Fdemo.ipynb)

The pyfileindex helps to keep track of files in a specific directory, to monitor added files, modified files and deleted files. The module is compatible with Python 3.7 or later but restricted to Unix-like system - Windows is not supported.
Expand Down

0 comments on commit 9a4efaf

Please sign in to comment.