Skip to content

Commit

Permalink
ci: switch to codecov rather than codacy (#110) (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jan 15, 2024
1 parent d60348b commit c6d6dd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'

steps:
- name: Install Python via conda.
Expand All @@ -34,14 +35,12 @@ jobs:
run: coverage report
- name: Create XML report for codacy
run: coverage xml
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@master
- name: Upload Python coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml
if: ${{ matrix.python-version == '3.7' }}
flags: python
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Check style with black
run: make black-check
- name: Check style with flake8
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[![PyPI version](https://badge.fury.io/py/altamisa.svg)](https://badge.fury.io/py/altamisa)
[![codecov](https://codecov.io/gh/bihealth/altamisa/graph/badge.svg?token=R5GXUKCUYJ)](https://codecov.io/gh/bihealth/altamisa)
[![Install with Bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io)
![Continuous Integration Status](https://github.com/bihealth/altamisa/workflows/CI/badge.svg)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a853a56253604aa7ab87d2bcdcd9da51)](https://www.codacy.com/app/bihealth/altamisa?utm_source=github.com&utm_medium=referral&utm_content=bihealth/altamisa&utm_campaign=Badge_Grade)
[![Coverage Badge](https://api.codacy.com/project/badge/Coverage/a853a56253604aa7ab87d2bcdcd9da51)](https://www.codacy.com/app/bihealth/altamisa?utm_source=github.com&utm_medium=referral&utm_content=bihealth/altamisa&utm_campaign=Badge_Coverage)
[![Coverage Status](https://coveralls.io/repos/github/bihealth/altamisa/badge.svg?branch=master)](https://coveralls.io/github/bihealth/altamisa?branch=master)
[![Documentation Status](https://readthedocs.org/projects/altamisa/badge/?version=latest)](https://altamisa.readthedocs.io/en/latest/?badge=latest)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.01610/status.svg)](https://doi.org/10.21105/joss.01610)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
Expand Down

0 comments on commit c6d6dd7

Please sign in to comment.