Skip to content

Commit

Permalink
ci: Install newer version of scapy.
Browse files Browse the repository at this point in the history
ovn-org/ovn/b7fe2c8b1b08 makes use of scapy features that are not
available in scapy 2.4.4 as shipped with ubuntu-22.04.

This works in the ovn repository because they run the testsuites
from purpose built containers instead of directly on the GitHub
Actions runner image.

For now let's just install the scapy dependency from pip instead.

Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
  • Loading branch information
fnordahl committed Mar 4, 2024
1 parent 23e59d5 commit 97e4b45
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
jobs:
build-linux:
env:
dependencies: |
apt-dependencies: |
automake libtool gcc bc libssl-dev llvm-dev libelf-dev \
libnuma-dev libpcap-dev ncat libunbound-dev libunwind-dev \
libudev-dev python3-scapy
libudev-dev python3-pip
pip-dependencies: |
scapy
CC: ${{ matrix.compiler }}
TESTSUITE: ${{ matrix.testsuite }}
ASAN: ${{ matrix.asan }}
Expand Down Expand Up @@ -55,7 +57,8 @@ jobs:
set -euxo pipefail
sudo apt update
sudo apt remove -y netcat-openbsd
sudo apt -y install ${{ env.dependencies }}
sudo apt -y install ${{ env.apt-dependencies }}
sudo pip install ${{ env.pip-dependencies }}
- name: build OVS
run: |
Expand Down

0 comments on commit 97e4b45

Please sign in to comment.