Skip to content

Commit

Permalink
Use action to select python
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Apr 8, 2024
1 parent dcd8594 commit 67dcab7
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/hosted_runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -658,18 +658,22 @@ jobs:
coreutils \
gnu-sed
- uses: actions/setup-python@v5
with:
python-version: '3.x'
architecture: 'x64'

- name: Install tests dependencies
id: install_test_deps
run: |
python_root="/usr/local/Frameworks/Python.framework/Versions/Current"
${python_root}/bin/pip3 install setuptools \
pexpect==3.3 \
psutil \
timeout_decorator \
six \
thrift==0.11.0 \
osquery
python_root=`dirname python`
pip3 install setuptools \
pexpect==3.3 \
psutil \
timeout_decorator \
six \
thrift==0.11.0 \
osquery
echo "PYTHON_ROOT=${python_root}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 67dcab7

Please sign in to comment.