Fix deltachat-rpc-server tests for tox 4

This commit is contained in:
link2xt
2022-12-09 14:34:21 +00:00
parent c830db07ad
commit f5cb56fd86
3 changed files with 5 additions and 2 deletions

View File

@@ -134,6 +134,10 @@ jobs:
if: ${{ matrix.python }}
run: cargo build -p deltachat-rpc-server
- name: add deltachat-rpc-server to path
if: ${{ matrix.python }}
run: echo ${{ github.workspace }}/target/debug >> $GITHUB_PATH
- name: run deltachat-rpc-client tests
if: ${{ matrix.python }}
env:

View File

@@ -11,7 +11,7 @@ Install it anywhere in your `PATH`.
## Testing
1. Build `deltachat-rpc-server` with `cargo build -p deltachat-rpc-server`.
2. Run `tox`.
2. Run `PATH="../target/debug:$PATH" tox`.
Additional arguments to `tox` are passed to pytest, e.g. `tox -- -s` does not capture test output.

View File

@@ -9,7 +9,6 @@ commands =
setenv =
# Avoid stack overflow when Rust core is built without optimizations.
RUST_MIN_STACK=8388608
PATH = {env:PATH}{:}{toxinidir}/../target/debug
passenv =
DCC_NEW_TMP_EMAIL
deps =