Skip to content

Commit

Permalink
Simplify?
Browse files Browse the repository at this point in the history
  • Loading branch information
mih committed Sep 27, 2023
1 parent 2f8c81e commit a491443
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,13 @@ for:
export TMPDIR=/crippledfs
fi
- echo TMPDIR=$TMPDIR
- python -m pip install coverage_enable_subprocess
- pwd
- export COVERAGE_PROCESS_START=$(pwd)/.coveragerc
# run tests on installed module, not source tree files
- mkdir __testhome__
- cd __testhome__
- ls -la $PWD/../tools/coverage-bin
- PATH=$PWD/../tools/coverage-bin:$PATH which datalad
- PATH=$PWD/../tools/coverage-bin:$PATH python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ria --cov-report= --pyargs ${DTS}
- python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ria --cov-report= --pyargs ${DTS}
# restiore original TMPDIR
- export TMPDIR=$PREV_TMPDIR

Expand Down
14 changes: 10 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[paths]
source =
datalad_ria/
*/datalad_ria/
[run]
parallel = True
branch = True
data_file = $TOP/.coverage

#[paths]
#source =
# datalad_ria/
# */datalad_ria/

[report]
# show lines missing coverage in output
show_missing = True
2 changes: 1 addition & 1 deletion tools/ci/submit-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e -u

# grab coverage reports from subprocesses, see tools/coverage-bin
python -m coverage combine -a /tmp/.coverage-entrypoints-*;
#python -m coverage combine -a /tmp/.coverage-entrypoints-*;
python -m coverage xml
curl -Os $CODECOV_BINARY
chmod +x codecov
Expand Down

0 comments on commit a491443

Please sign in to comment.