Skip to content

Commit

Permalink
disable coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
notestaff committed Mar 23, 2020
1 parent a26d4ce commit aa25e4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# source is not used here because it is specified in pytest.ini
[run]
branch = True
omit = tools/conda-tools/*
#omit = tools/conda-tools/*
omit = *
disable_warnings =
module-not-imported

Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
- PIP_DIR="$HOME/virtualenv"
- GATK_PATH="$CACHE_DIR"
- PYTHONIOENCODING=UTF8
- PYTEST_ADDOPTS="-rsxX -n 2 --durations=25 --fixture-durations=10 --junit-xml=pytest.xml --cov-report= --cov broad_utils --cov illumina --cov assembly --cov interhost --cov intrahost --cov metagenomics --cov ncbi --cov read_utils --cov kmer_utils --cov reports --cov taxon_filter --cov tools --cov util --cov file_utils"
- PYTEST_ADDOPTS="-rsxX -n 2 --durations=25 --fixture-durations=10 --junit-xml=pytest.xml"

- DOCKER_REGISTRY="quay.io"
- DOCKER_REPO_PROD="quay.io/broadinstitute/viral-ngs"
Expand Down Expand Up @@ -167,10 +167,10 @@ jobs:
- travis/install-tools.sh
- source travis/activate-conda.sh
script:
- travis/tests-long.sh
#- travis/tests-long.sh
- travis/tests-unit.sh
after_success:
- coveralls
#after_success:
# - coveralls
before_cache:
- conda clean --all --yes

Expand Down
2 changes: 1 addition & 1 deletion travis/tests-unit.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

pytest --cov-append test/unit
pytest test/unit/test_util_file.py

rc=$?; if [[ $rc != 0 ]]; then sleep 10; exit $rc; fi
# sleep to allow logs to be printed without truncation in the event of error

0 comments on commit aa25e4f

Please sign in to comment.