From 021193926e49173aef597c02f68947c2224f011c Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 26 Sep 2024 19:50:51 +0200 Subject: [PATCH] Unbreak tests for nightly - use system packages for python stuff where possible - demjson / requests are not required --- .github/workflows/rspamd_test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rspamd_test.yml b/.github/workflows/rspamd_test.yml index cc5d250..2ec7015 100644 --- a/.github/workflows/rspamd_test.yml +++ b/.github/workflows/rspamd_test.yml @@ -20,10 +20,9 @@ jobs: - name: Run tests run: | apt-get update - apt-get install -y git miltertest python3 python3-dev python3-pip python3-venv redis-server + apt-get install -y git miltertest python3 python3-dev python3-nacl python3-pip python3-psutil python3-tornado python3-venv redis-server mkdir -p $GITHUB_WORKSPACE - python3 -mvenv $GITHUB_WORKSPACE/venv - bash -c "source $GITHUB_WORKSPACE/venv/bin/activate && pip3 install --no-cache --disable-pip-version-check --no-binary :all: setuptools==57.5.0" - bash -c "source $GITHUB_WORKSPACE/venv/bin/activate && pip3 install --no-cache --disable-pip-version-check --no-binary :all: demjson psutil requests robotframework tornado" + python3 -mvenv $GITHUB_WORKSPACE/venv --system-site-packages + bash -c "source $GITHUB_WORKSPACE/venv/bin/activate && pip3 install --no-cache --disable-pip-version-check --no-binary :all: robotframework" git clone -b ${{ inputs.tag }} https://github.com/rspamd/rspamd.git RSPAMD_INSTALLROOT=/usr bash -c "source $GITHUB_WORKSPACE/venv/bin/activate && robot --removekeywords wuks --exclude isbroken $GITHUB_WORKSPACE/rspamd/test/functional/cases"