From 9d67095a33f9a68019700294a807d147312fa45d Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 19 May 2026 11:42:25 +0400 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ca9248..d9b33da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,4 +26,10 @@ jobs: run: nimble test - name: Integration tests - run: nimble testIntegration + # we call docker directly instead of nimble testIntegration because nimble + # exits with code 0 even when exec() fails, which would make CI pass on failure. + run: | + docker build -t libplum -f tests/Dockerfile . + docker run --rm --cap-add=NET_ADMIN -e TEST_MINIUPNP_PCP=1 libplum + docker run --rm --cap-add=NET_ADMIN -e TEST_MINIUPNP_UPNP=1 libplum + docker run --rm --cap-add=NET_ADMIN -e TEST_MINIUPNP_NATPMP=1 libplum