Skip to content

Commit

Permalink
Clean up codecov, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkoehler committed Sep 19, 2022
1 parent c05938a commit a1bd7cd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
name: Example workflow for Codecov
on: [push]
name: Codecov
on:
push:
branches:
- main
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
- '*.txt'
pull_request:
branches:
- main
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
- '*.txt'
jobs:
codecov:
run:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -22,9 +40,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
# env_vars: OS,PYTHON
fail_ci_if_error: true
# files: ./coverage/reports/coverage.xml
name: codecov-umbrella
# path_to_write_report: ./coverage/codecov_report.txt
# verbose: true
name: codecov-umbrella
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Python Versions][python-shield]][python-url]
<!-- [![PyPi][pypi-shield]][pypi-url] -->
[![PyPi][pypi-shield]][pypi-url]
[![Tests][tests-shield]][tests-url]
[![Codecov][codecov-shield]][codecov-url]
[![License][license-shield]][license-url]
[![Contributors][contributors-shield]][contributors-url]
[![Code Style][codestyle-shield]][codestyle-url]
Expand Down Expand Up @@ -104,6 +105,8 @@ PTE Stats is licensed under the [MIT license](license-url).
[pypi-url]: https://pypi.org/project/pte-xdf/
[tests-shield]: https://github.com/richardkoehler/pte-xdf/actions/workflows/tests.yml/badge.svg
[tests-url]: https://github.com/richardkoehler/pte-xdf/actions/workflows/tests.yml
[codecov-shield]: https://codecov.io/github/richardkoehler/pte-xdf/branch/main/graph/badge.svg?token=PZU4QNK7FR
[codecov-url]: https://codecov.io/github/richardkoehler/pte-xdf
[homepage-shield]: https://img.shields.io/static/v1?label=Homepage&message=ICN&logoColor=black&labelColor=grey&color=9cf
[homepage-url]: https://www.icneuromodulation.org/
[contributors-shield]: https://img.shields.io/github/contributors/richardkoehler/pte-xdf.svg
Expand Down

0 comments on commit a1bd7cd

Please sign in to comment.