Skip to content

Commit

Permalink
Fix CI to include test deps, add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
AP6YC committed Jan 12, 2024
1 parent bb67d03 commit 0ec0b9a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
- name: Install test dependencies
run: |
pip install -r tests/requirements.txt
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

**K**owledge **G**raphs and **O**ntologies: code and data for the paper *Transformation of Biomedical Data into Knowledge Graphs and Ontologies*.

| **Zenodo DOI** | **Test Status** | **Coverage** |
|:--------------:|:---------------:|:------------:|
| [![DOI][zenodo-img]][zenodo-url] | [![Build Status][ci-img]][ci-url] | [![Codecov][codecov-img]][codecov-url] |

[zenodo-img]: https://zenodo.org/badge/DOI/10.5281/zenodo.10463050.svg
[zenodo-url]: https://doi.org/10.5281/zenodo.10463050

[ci-img]: https://github.com/ACIL-Group/KGO/actions/workflows/Test.yml/badge.svg
[ci-url]: https://github.com/ACIL-Group/KGO/actions/workflows/Test.yml

[codecov-img]: https://codecov.io/gh/ACIL-Group/KGO/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/ACIL-Group/KGO

## Table of Contents

- [KGO](#kgo)
Expand Down
2 changes: 2 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage
pytest-cov

0 comments on commit 0ec0b9a

Please sign in to comment.