From: Jason Ish Date: Fri, 8 Jan 2021 15:39:19 +0000 (-0600) Subject: github-ci/macos: use brew to install Python 3 X-Git-Tag: suricata-5.0.6~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4c5a61e1c11886b7effe960b2f934eb8bb703e0;p=thirdparty%2Fsuricata.git 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) --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index aa7fd89e3f..798e123d5b 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -956,12 +956,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@v1 - name: Downloading prep archive uses: actions/download-artifact@v2 @@ -975,4 +976,4 @@ 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