Skip to content

Commit

Permalink
Unbreak tests for nightly
Browse files Browse the repository at this point in the history
 - use system packages for python stuff where possible
 - demjson / requests are not required
  • Loading branch information
fatalbanana committed Sep 26, 2024
1 parent 0d54d07 commit 0211939
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/rspamd_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 0211939

Please sign in to comment.