File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,9 @@ jobs:
112
112
$env:FX_EXECUTABLE = "C:\Program Files\Custom Firefox\firefox.exe"
113
113
Start-Process -FilePath $env:FX_EXECUTABLE -ArgumentList "--version" -Wait -NoNewWindow
114
114
pipenv run python choose_ci_set.py
115
- Start-Process pipenv run pytest -ArgumentList (Get-Content .\selected_tests) -wait -NoNewWindow
115
+ $selected_tests = Get-Content -Path .\selected_tests -Raw
116
+ Set-Content -Path .\selected_tests -Value ("run" + "`r`n" + "pytest" + "`r`n" + $selected_tests)
117
+ Start-Process pipenv -ArgumentList (Get-Content .\selected_tests) -wait -NoNewWindow
116
118
$env:TEST_EXIT_CODE = $LASTEXITCODE
117
119
mv artifacts artifacts-win || true
118
120
exit $env:TEST_EXIT_CODE
@@ -125,7 +127,9 @@ jobs:
125
127
mv ./ci_pyproject_headed.toml ./pyproject.toml;
126
128
$env:FX_EXECUTABLE = "C:\Program Files\Custom Firefox\firefox.exe"
127
129
pipenv run python choose_ci_set.py
128
- Start-Process pipenv run pytest -ArgumentList (Get-Content .\selected_tests) -wait -NoNewWindow
130
+ $selected_tests = Get-Content -Path .\selected_tests -Raw
131
+ Set-Content -Path .\selected_tests -Value ("run" + "`r`n" + "pytest" + "`r`n" + $selected_tests)
132
+ Start-Process pipenv -ArgumentList (Get-Content .\selected_tests) -wait -NoNewWindow
129
133
$env:TEST_EXIT_CODE = $LASTEXITCODE
130
134
rm artifacts/assets -r -Force
131
135
Get-ChildItem -Path "artifacts" | ForEach-Object {
You can’t perform that action at this time.
0 commit comments