Skip to content

Commit 97e4b45

Browse files
committed
ci: Install newer version of scapy.
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>
1 parent 23e59d5 commit 97e4b45

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/tests.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ on:
77
jobs:
88
build-linux:
99
env:
10-
dependencies: |
10+
apt-dependencies: |
1111
automake libtool gcc bc libssl-dev llvm-dev libelf-dev \
1212
libnuma-dev libpcap-dev ncat libunbound-dev libunwind-dev \
13-
libudev-dev python3-scapy
13+
libudev-dev python3-pip
14+
pip-dependencies: |
15+
scapy
1416
CC: ${{ matrix.compiler }}
1517
TESTSUITE: ${{ matrix.testsuite }}
1618
ASAN: ${{ matrix.asan }}
@@ -55,7 +57,8 @@ jobs:
5557
set -euxo pipefail
5658
sudo apt update
5759
sudo apt remove -y netcat-openbsd
58-
sudo apt -y install ${{ env.dependencies }}
60+
sudo apt -y install ${{ env.apt-dependencies }}
61+
sudo pip install ${{ env.pip-dependencies }}
5962
6063
- name: build OVS
6164
run: |

0 commit comments

Comments
 (0)