Skip to content

Commit b1df4bf

Browse files
author
alex-omophub
committed
Add MIT license badge and Codecov integration to README and workflow
1 parent fbac979 commit b1df4bf

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/test-coverage.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ jobs:
3434
)
3535
shell: Rscript {0}
3636

37+
- name: Upload test coverage to Codecov
38+
uses: codecov/codecov-action@v4
39+
with:
40+
token: ${{ secrets.CODECOV_TOKEN }}
41+
files: ./coverage.xml
42+
flags: unittests
43+
verbose: true
44+
fail_ci_if_error: false
45+
3746
- name: Show testthat output
3847
if: always()
3948
run: |

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
<!-- badges: start -->
44
[![R-CMD-check](https://github.com/omopHub/omophub-R/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/omopHub/omophub-R/actions/workflows/R-CMD-check.yaml)
55
[![Codecov test coverage](https://codecov.io/gh/omopHub/omophub-R/branch/main/graph/badge.svg)](https://app.codecov.io/gh/omopHub/omophub-R?branch=main)
6+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
67
[![CRAN status](https://www.r-pkg.org/badges/version/omophub)](https://CRAN.R-project.org/package=omophub)
8+
[![CRAN_Status_Badge](https://cranlogs.r-pkg.org/badges/DatabaseConnector)](https://cran.r-project.org/package=DatabaseConnector)
9+
710
<!-- badges: end -->
811

912
R client for the [OMOPHub API](https://docs.omophub.com), providing access to OHDSI ATHENA standardized medical vocabularies.

0 commit comments

Comments
 (0)