Skip to content

Commit

Permalink
try coveralls github action rather than manual invocation of coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Mar 21, 2024
1 parent b8ea146 commit 356392c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,13 @@ jobs:
- name: test with docker
run: |
docker run -e _JAVA_OPTIONS -e PYTEST_ADDOPTS -v `pwd`/coverage:/coverage -v `pwd`/test:/opt/viral-ngs/source/test:rw --entrypoint /bin/bash $DOCKER_TAG -c 'set -e; cd /opt/viral-ngs/source; env; echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"; export LD_LIBRARY_PATH="/opt/miniconda/envs/viral-ngs-env/lib:/usr/local/lib:${LD_LIBRARY_PATH}"; echo "nproc: $(nproc)"; python -c "import locale; print(locale.getpreferredencoding(False))"; pytest test/unit; cp .coverage /coverage'
- name: run coveralls
run: |
mv coverage/.coverage .
pip install coveralls>=1.3.0
coveralls --service=github
- name: Run coveralls
uses: coverallsapp/github-action@v2
#- name: run coveralls
# run: |
# mv coverage/.coverage .
# pip install coveralls>=1.3.0
# coveralls --service=github

## note: this test_docs job does not actually produce the output on readthedocs
## readthedocs does its own build trigger. this job exists simply to alert us
Expand Down

0 comments on commit 356392c

Please sign in to comment.