mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
CI: run 2, not 3 UBSAN/ASAN pytests at once.
It seems to reliably be getting a SIGTERM after 17-18 minutes: ``` [gw1] [ 91%] PASSED tests/test_plugin.py::test_forward_event_notification Error: Process completed with exit code 143. ``` Perhaps this is out of mem? So, try -n2. We also make the configure line explicit, rather than relying on environment vars (we should probably do this for the other cases, too) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ca9a6b15b5
commit
55d6eb6762
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -410,10 +410,6 @@ jobs:
|
||||
BITCOIN_VERSION: "25.0"
|
||||
ELEMENTS_VERSION: 22.0.2
|
||||
RUST_PROFILE: release
|
||||
ASAN: 1
|
||||
UBSAN: 1
|
||||
VALGRIND: 0
|
||||
DEVELOPER: 1
|
||||
SLOW_MACHINE: 1
|
||||
TEST_DEBUG: 1
|
||||
PYTEST_OPTS: --test-group-random-seed=42 --timeout=1800
|
||||
@ -466,12 +462,12 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./configure CC=clang
|
||||
./configure CC=clang --enable-address-sanitizer --enable-ub-sanitizer --disable-valgrind --enable-developer
|
||||
make -j $(nproc)
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
poetry run pytest tests/ -vvv -n 3 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
|
||||
poetry run pytest tests/ -vvv -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
|
||||
|
||||
gather:
|
||||
# A dummy task that depends on the full matrix of tests, and
|
||||
|
Loading…
Reference in New Issue
Block a user