File tree 1 file changed +6
-5
lines changed
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
2
2
3
3
on :
4
4
push :
@@ -144,22 +144,23 @@ jobs:
144
144
python-version : ${{ matrix.python_version }}
145
145
146
146
- name : Initialize CodeQL
147
+ id : init
147
148
uses : ./init
148
149
with :
149
150
tools : latest
150
151
languages : python
151
152
setup-python-dependencies : false
152
153
153
154
- name : Test Auto Package Installation
155
+ env :
156
+ CODEQL_PATH : ${{ steps.init.outputs.codeql-path }}
154
157
run : |
155
158
$cmd = $Env:GITHUB_WORKSPACE + "\\python-setup\\install_tools.ps1"
156
159
powershell -File $cmd
157
160
158
161
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
163
164
164
165
- name : Setup for extractor
165
166
run : |
You can’t perform that action at this time.
0 commit comments