From: Vsevolod Stakhov Date: Fri, 17 Oct 2025 12:58:50 +0000 (+0100) Subject: [Test] Fix corpus directory path X-Git-Tag: 3.14.0~67^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f149d32f5503efe714a5cd3c27c54f57ad39491b;p=thirdparty%2Frspamd.git [Test] Fix corpus directory path Change CORPUS_DIR from data/corpus/corpus to data/corpus Archive extracts as data/corpus/ directly, not nested --- diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 4a55945dff..ad8f98a26e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -220,12 +220,14 @@ jobs: export PROXY_PORT=50004 export PASSWORD=q1 export TEST_PROXY=true - export CORPUS_DIR=data/corpus/corpus + export CORPUS_DIR=data/corpus # Verify corpus exists - if [ ! -d "$CORPUS_DIR" ]; then - echo "ERROR: Corpus directory not found at $CORPUS_DIR" - ls -la data/corpus/ + if [ ! -d "$CORPUS_DIR/spam" ] || [ ! -d "$CORPUS_DIR/ham" ]; then + echo "ERROR: Corpus directories not found" + echo "Expected: $CORPUS_DIR/spam and $CORPUS_DIR/ham" + ls -la data/ + ls -la data/corpus/ || true exit 1 fi