Skip to content

Commit 187170a

Browse files
authoredMay 12, 2022
Feature/codecov (#61)
* testing * point to cov files * codecov.yml * remove cobertura * bundle * no simplecov * fix path ignore * fixed codecov path * .simplecov * typo codecov * codecov.yml ignoring tests and git * badges README
1 parent b30211b commit 187170a

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed
 

‎.codecov.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
codecov:
2+
ci:
3+
- "travis.org"
4+
5+
ignore:
6+
- ".git/"
7+
- "tests/"

‎.simplecov

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
require 'codecov'
2+
require 'simplecov'
3+
4+
SimpleCov.formatter = Codecov::SimpleCov::Formatter

‎.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
language: bash
2+
dist: focal
23

34
before_install:
5+
- gem install bashcov codecov
46
- sudo apt-get install parallel
57

68
script:
7-
- tests/libs/bats/bin/bats tests/integration_offline.bats
9+
- bashcov tests/libs/bats/bin/bats tests/integration_offline.bats
10+
11+
after_success:
12+
- curl -Os https://uploader.codecov.io/latest/linux/codecov
13+
- chmod +x codecov
14+
- ./codecov -f coverage/codecov-result.json -Z
815

916
notifications:
1017
email: false

‎README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# genome_updater
1+
# genome_updater [![Build Status](https://travis-ci.com/pirovc/genome_updater.svg?branch=master)](https://travis-ci.com/pirovc/genome_updater) [![codecov](https://codecov.io/gh/pirovc/genome_updater/branch/master/graph/badge.svg)](https://codecov.io/gh/pirovc/genome_updater) [![Anaconda-Server Badge](https://anaconda.org/bioconda/genome_updater/badges/downloads.svg)](https://anaconda.org/bioconda/genome_updater)
22

33
Bash script to download ***and update*** snapshots of the NCBI genomes repository (refseq/genbank) [1] with filters, detailed log, reports, file integrity check (MD5) and parallel [2] download support.
44

@@ -40,8 +40,6 @@ genome_updater downloads and keeps several snapshots of a certain sub-set of the
4040

4141
## Installation
4242

43-
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/genome_updater/README.html)
44-
4543
With conda:
4644

4745
conda install -c bioconda genome_updater

0 commit comments

Comments
 (0)
Please sign in to comment.