mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
Fix deltachat-rpc-server tests for tox 4
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -134,6 +134,10 @@ jobs:
|
|||||||
if: ${{ matrix.python }}
|
if: ${{ matrix.python }}
|
||||||
run: cargo build -p deltachat-rpc-server
|
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
|
- name: run deltachat-rpc-client tests
|
||||||
if: ${{ matrix.python }}
|
if: ${{ matrix.python }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Install it anywhere in your `PATH`.
|
|||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
1. Build `deltachat-rpc-server` with `cargo build -p deltachat-rpc-server`.
|
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.
|
Additional arguments to `tox` are passed to pytest, e.g. `tox -- -s` does not capture test output.
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ commands =
|
|||||||
setenv =
|
setenv =
|
||||||
# Avoid stack overflow when Rust core is built without optimizations.
|
# Avoid stack overflow when Rust core is built without optimizations.
|
||||||
RUST_MIN_STACK=8388608
|
RUST_MIN_STACK=8388608
|
||||||
PATH = {env:PATH}{:}{toxinidir}/../target/debug
|
|
||||||
passenv =
|
passenv =
|
||||||
DCC_NEW_TMP_EMAIL
|
DCC_NEW_TMP_EMAIL
|
||||||
deps =
|
deps =
|
||||||
|
|||||||
Reference in New Issue
Block a user