Skip to content

Commit

Permalink
#115 More Pester Test were added but failing as target systems don't …
Browse files Browse the repository at this point in the history
…always use EN but EN-US variations, injecting this in the Debug file, should resolve some problems
  • Loading branch information
ddemeyer committed Sep 22, 2021
1 parent 9faed7c commit 7637312
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,25 @@ jobs:
name: ISHRemote-module
path: Source/ISHRemote/Trisoft.ISHRemote/bin/Release/*.nupkg

- name: Pester Test Preparation (...products.com) on Windows using PowerShell 7.x
shell: pwsh
ISH_BASE_URL: ${{ secrets.ISH_BASE_URL }}
ISH_USER_NAME: ${{ secrets.ISH_USER_NAME }}
ISH_PASSWORD: ${{ secrets.ISH_PASSWORD }}
run: |
Add-Content -Path $filePath -Value '# File[$filePath] is generated through continuous-integration.yml'
Add-Content -Path $filePath -Value '$baseUrl = $env:ISH_BASE_URL'
Add-Content -Path $filePath -Value '$filePath = ''Source/ISHRemote/Trisoft.ISHRemote/ISHRemote.PesterSetup.Debug.ps1'''
Add-Content -Path $filePath -Value 'if ($baseUrl -like "*.sdlproducts.com*")'
Add-Content -Path $filePath -Value '{'
Add-Content -Path $filePath -Value ' $ishLngLabel = ''en-us'''
Add-Content -Path $filePath -Value ' $ishLngTarget1 = ''VLANGUAGEESES'''
Add-Content -Path $filePath -Value ' $ishLngTarget1Label = ''es-es'''
Add-Content -Path $filePath -Value ' $ishLngTarget2 = ''VLANGUAGEDEDE'''
Add-Content -Path $filePath -Value ' $ishLngTarget2Label = ''de-de'''
Add-Content -Path $filePath -Value ' $ishLngCombination = ''en-us'''
Add-Content -Path $filePath -Value '}'
- name: Pester Test Cmdlets on Windows using PowerShell 7.x
shell: pwsh
env:
Expand Down

0 comments on commit 7637312

Please sign in to comment.