File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- name : Test Python Package Installation on Linux and Mac
1+ name : Test Python Package Installation
22
33on :
44 push :
@@ -144,22 +144,23 @@ jobs:
144144 python-version : ${{ matrix.python_version }}
145145
146146 - name : Initialize CodeQL
147+ id : init
147148 uses : ./init
148149 with :
149150 tools : latest
150151 languages : python
151152 setup-python-dependencies : false
152153
153154 - name : Test Auto Package Installation
155+ env :
156+ CODEQL_PATH : ${{ steps.init.outputs.codeql-path }}
154157 run : |
155158 $cmd = $Env:GITHUB_WORKSPACE + "\\python-setup\\install_tools.ps1"
156159 powershell -File $cmd
157160
158161 cd $Env:GITHUB_WORKSPACE\\python-setup/tests/$Env:PYTHON_DEPS_TYPE/requests-$Env:PYTHON_VERSION
159- $DefaultsPath = Join-Path (Join-Path $Env:GITHUB_WORKSPACE "src") "defaults.json"
160- $CodeQLBundleName = (Get-Content -Raw -Path $DefaultsPath | ConvertFrom-Json).bundleVersion
161- $CodeQLVersion = "0.0.0-" + $CodeQLBundleName.split("-")[-1]
162- py -3 $Env:GITHUB_WORKSPACE\\python-setup\\auto_install_packages.py C:\\hostedtoolcache\\windows\\CodeQL\\$CodeQLVersion\\x64\\codeql
162+ $codeql_dist = (get-item $Env:CODEQL_PATH).Directory.FullName
163+ py -3 $Env:GITHUB_WORKSPACE\\python-setup\\auto_install_packages.py $codeql_dist
163164
164165 - name : Setup for extractor
165166 run : |
You can’t perform that action at this time.
0 commit comments