Skip to content

Commit

Permalink
Codecov fix (#9)
Browse files Browse the repository at this point in the history
* collapsed 2 codecov jobs into 1

* commented out with statments in CI.yaml to match Codecov instructions exactly

* moved env token argument into with

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* moved init to sub-directory in src, added CI badge to replace Github Actions Build Status badge, added README.md in src folder

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jessicaw9910 and pre-commit-ci[bot] authored Feb 23, 2024
1 parent 1d897b6 commit 894a33b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
fail_ci_if_error: false # optional (default = false)
file: ./coverage.xml
flags: unittests
flags: unittests # optional
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: choderalab/missense-kinase-toolkit
# https://github.com/codecov/codecov-action
token: ${{ secrets.CODECOV_TOKEN }} # required
verbose: true # optional (default = false)
# env:
# slug: choderalab/missense-kinase-toolkit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
missense-kinase-toolkit
==============================
[//]: # (Badges)
[![GitHub Actions Build Status](https://github.com/choderalab/missense_kinase_toolkit/workflows/CI/badge.svg)](https://github.com/choderalab/missense_kinase_toolkit/actions?query=workflow%3ACI)
[![CI](https://github.com/choderalab/missense-kinase-toolkit/actions/workflows/CI.yaml/badge.svg)](https://github.com/choderalab/missense-kinase-toolkit/actions/workflows/CI.yaml)
[![codecov](https://codecov.io/gh/choderalab/missense-kinase-toolkit/branch/main/graph/badge.svg)](https://codecov.io/gh/choderalab/missense-kinase-toolkit/branch/main)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/choderalab/missense-kinase-toolkit/main.svg?badge_token=dufHMzu_RH2VGGToCgvtcQ)](https://results.pre-commit.ci/latest/github/choderalab/missense-kinase-toolkit/main?badge_token=dufHMzu_RH2VGGToCgvtcQ)

Expand Down
1 change: 1 addition & 0 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#TODO
Empty file removed src/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions src/missense_kinase_toolkit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from importlib.metadata import version

__version__ = version("missense-kinase-toolkit")

0 comments on commit 894a33b

Please sign in to comment.