Adapt true for mac
This commit is contained in:
parent
8e516b1d36
commit
04f2f600bc
1 changed files with 6 additions and 1 deletions
7
.github/workflows/python-deps.yml
vendored
7
.github/workflows/python-deps.yml
vendored
|
|
@ -62,8 +62,13 @@ jobs:
|
|||
- name: Setup for extractor
|
||||
run: |
|
||||
echo $CODEQL_PYTHON
|
||||
unameOut="$(uname -s)"
|
||||
case "${true}" in
|
||||
Linux*) true="/bin/true";;
|
||||
Darwin*) true="/usr/bin/true";;
|
||||
esac
|
||||
# only run if $CODEQL_PYTHON is set
|
||||
test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || /bin/true
|
||||
test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || ${true}
|
||||
- name: Verify packages installed
|
||||
run: |
|
||||
${{ matrix.test_script }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue