Skip to content

Commit 865b868

Browse files
author
Roberto Sora
committed
force pytest temp directory to be created in current dir
1 parent c8ecd7f commit 865b868

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ __pycache__
1111
venv
1212
.pytest_cache
1313
/dist
14+
/.pytest-tmp-dir
1415

1516
# gRPC client example folder
1617
/client_example/client_example

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tasks:
2727
desc: Run integration tests only
2828
cmds:
2929
- go test -run Integration {{ default "-v" .GOFLAGS }} -coverprofile=coverage_integ.txt {{ default .DEFAULT_TARGETS .TARGETS }} {{.TEST_LDFLAGS}}
30-
- pytest test
30+
- pytest --basetemp=.pytest-tmp-dir test
3131

3232
test-legacy:
3333
desc: Run tests for the `legacy` package

0 commit comments

Comments
 (0)