generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(appveyor): run tests in hatch environment
- Loading branch information
Showing
2 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -322,12 +322,7 @@ for: | |
export TMPDIR=/crippledfs | ||
fi | ||
- echo TMPDIR=$TMPDIR | ||
# run tests on installed module, not source tree files | ||
- mkdir __testhome__ | ||
# run tests on installed module, not source tree files | ||
- | | ||
cd __testhome__ | ||
hatch test --durations 20 -m "not (turtle)" -k "$KEYWORDS" --cov=datalad_next --cov datalad --cov-config=../.coveragerc --pyargs ${DTS} | ||
- hatch test --cover --doctest-modules --durations 20 -m "not (turtle)" -k "$KEYWORDS" --pyargs ${DTS} | ||
|
||
after_test: | ||
- python -m coverage xml | ||
|
@@ -390,11 +385,8 @@ for: | |
- tools\appveyor\verify-ssh-access | ||
|
||
test_script: | ||
# run tests on installed module, not source tree files | ||
- cmd: md __testhome__ | ||
- cmd: cd __testhome__ | ||
# run test selection | ||
- cmd: hatch test --durations 20 -m "not (turtle)" -k "%KEYWORDS%" --cov=datalad_next --cov-config=..\.coveragerc --pyargs %DTS% | ||
# run test selection | ||
- cmd: hatch test --cover --doctest-modules --durations 20 -m "not (turtle)" -k "%KEYWORDS%" --pyargs %DTS% | ||
|
||
after_test: | ||
- cmd: python -m coverage xml | ||
|
@@ -416,7 +408,5 @@ after_build: | |
# Identity setup | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Appveyor Almighty" | ||
# enable "next" extension for patching datalad core | ||
- git config --global datalad.extensions.load next | ||
# simple call to see if datalad and git-annex are installed properly | ||
- datalad wtf | ||
- hatch run datalad wtf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters