Skip to content

Commit

Permalink
SIMPLER
Browse files Browse the repository at this point in the history
  • Loading branch information
mih committed Sep 27, 2023
1 parent 16a1231 commit 7f04053
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 53 deletions.
10 changes: 4 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,11 @@ 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__
- python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ria --cov-report= --pyargs ${DTS}
- mkdir __testhome__
- |
cd __testhome__
python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ria ---cov-config=../.coveragerc --pyargs ${DTS}
# restiore original TMPDIR
- export TMPDIR=$PREV_TMPDIR

Expand Down
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[run]
parallel = True
branch = True
data_file = $TOP/.coverage
data_file = ${COVERAGE_ROOT-.}/.coverage

#[paths]
#source =
Expand Down
2 changes: 0 additions & 2 deletions datalad_ria/ora_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ def main():
description=\
"transport file content to and from datasets hosted in RIA stores",
)


3 changes: 3 additions & 0 deletions datalad_ria/tests/test_ora.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ def test_ora_initremote_errors(ria_store_localaccess, existing_dataset):
):
# use a file:// url here
repo.call_annex(ir_cmd + [f'url={store_path.as_uri()}'])

# smoke test that it can run
repo.call_annex(ir_cmd + [f'url=ria+{store_path.as_uri()}'])
1 change: 0 additions & 1 deletion tools/coverage-bin/datalad

This file was deleted.

1 change: 0 additions & 1 deletion tools/coverage-bin/git-annex-remote-ora2

This file was deleted.

3 changes: 0 additions & 3 deletions tools/coverage-bin/sitecustomize.py

This file was deleted.

39 changes: 0 additions & 39 deletions tools/coverage-bin/with_coverage

This file was deleted.

0 comments on commit 7f04053

Please sign in to comment.