Address comments
This commit is contained in:
parent
ce8418a2ed
commit
1c789715a7
1 changed files with 9 additions and 11 deletions
20
.github/workflows/python-deps.yml
vendored
20
.github/workflows/python-deps.yml
vendored
|
|
@ -51,25 +51,23 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
$GITHUB_WORKSPACE/python-setup/install_tools.sh
|
$GITHUB_WORKSPACE/python-setup/install_tools.sh
|
||||||
echo -e '\n\n\n\n\n' && sleep 0.5
|
|
||||||
cd $GITHUB_WORKSPACE/${{ matrix.test_dir }}
|
cd $GITHUB_WORKSPACE/${{ matrix.test_dir }}
|
||||||
unameOut="$(uname -s)"
|
|
||||||
case "${unameOut}" in
|
case ${{ matrix.os }} in
|
||||||
Linux*) basePath="/opt";;
|
ubuntu-latest*) basePath="/opt";;
|
||||||
Darwin*) basePath="/Users/runner";;
|
macos-latest*) basePath="/Users/runner";;
|
||||||
esac
|
esac
|
||||||
echo ${basePath}
|
echo ${basePath}
|
||||||
|
|
||||||
find ${basePath}/hostedtoolcache/CodeQL -path "*x64/codeql" -exec $GITHUB_WORKSPACE/python-setup/auto_install_packages.py {} \;
|
find ${basePath}/hostedtoolcache/CodeQL -path "*x64/codeql" -exec $GITHUB_WORKSPACE/python-setup/auto_install_packages.py {} \;
|
||||||
- name: Setup for extractor
|
- name: Setup for extractor
|
||||||
run: |
|
run: |
|
||||||
echo $CODEQL_PYTHON
|
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
|
# only run if $CODEQL_PYTHON is set
|
||||||
test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || ${true}
|
if [ ! -z $CODEQL_PYTHON ]; then
|
||||||
|
$GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON;
|
||||||
|
fi
|
||||||
- name: Verify packages installed
|
- name: Verify packages installed
|
||||||
run: |
|
run: |
|
||||||
${{ matrix.test_script }}
|
${{ matrix.test_script }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue