File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,18 @@ jobs:
57
57
python-version : ' 3.x'
58
58
architecture : ' x64'
59
59
60
- - name : Run integration tests
61
- # Since windows VM do not handle well tmpdirs,
60
+ - name : Run integration tests on windows-2019
61
+ # Since GH windows VM do not handle well tmpdirs,
62
62
# we create the pytest temp folder in current dir
63
63
if : matrix.operating-system == 'windows-2019'
64
+ env :
65
+ PYTEST_DEBUG_TEMPROOT : ' .pytest-tmp-dir'
64
66
run : |
67
+ if not exist %PYTEST_DEBUG_TEMPROOT% mkdir %PYTEST_DEBUG_TEMPROOT%
65
68
pip install -r test/requirements.txt
66
69
task test-integration
67
- env :
68
- PYTEST_DEBUG_TEMPROOT : ' .pytest-tmp-dir '
70
+ rmdir %PYTEST_DEBUG_TEMPROOT% /Q /S
71
+ shell : cmd
69
72
70
73
- name : Run integration tests
71
74
if : matrix.operating-system != 'windows-2019'
You can’t perform that action at this time.
0 commit comments