From d92b3184f0a87337492fb3d5d202eb05cceeb8b9 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 8 Jan 2021 09:39:19 -0600 Subject: [PATCH] github-ci/macos: use brew to install Python 3 The default Python on MacOS is Python 2. Suricata-Verify now depends on Python 3, so install it with Brew. (cherry picked from commit 7904ef82d0b2478694025ca0d9043f2ae98be73a) --- .github/workflows/builds.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 0155c81811f1..c06961dbd07f 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -1150,12 +1150,13 @@ jobs: nspr \ pcre \ pkg-config \ + python \ rust \ xz - name: Install cbindgen run: cargo install --force --debug --version 0.14.1 cbindgen - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - run: pip install PyYAML + - run: pip3 install PyYAML - uses: actions/checkout@v2 - name: Downloading prep archive uses: actions/download-artifact@v2 @@ -1169,7 +1170,7 @@ jobs: - run: make check - run: tar xf prep/suricata-verify.tar.gz - name: Running suricata-verify - run: ./suricata-verify/run.py + run: python3 ./suricata-verify/run.py windows-msys2-mingw64: name: Windows MSYS2 MINGW64