mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 00:08:33 +00:00
ci: DEVEX-54 migrating win runners.
This commit is contained in:
19
ci/test.yml
19
ci/test.yml
@ -137,7 +137,8 @@ test-e2e-ui:
|
||||
extends:
|
||||
- .rules-branch-manual-scheduled-and-test-branch-always
|
||||
tags:
|
||||
- inbox-virt-windows-ui-v1
|
||||
- inbox-hyperv-windows-v1
|
||||
image: windows-2022-inbox-gui-1.0.0
|
||||
variables:
|
||||
REQUIRES_GRAPHICAL_CONSOLE: true
|
||||
before_script:
|
||||
@ -146,13 +147,17 @@ test-e2e-ui:
|
||||
- dotnet restore ./ProtonMailBridge.UI.Tests.csproj
|
||||
- dotnet list package
|
||||
script:
|
||||
- pwsh $CI_PROJECT_DIR/tests/e2e/ui_tests/windows_os/InstallerScripts/Get-BridgeInstaller.ps1
|
||||
- no_grpc_proxy=127.0.0.1 dotnet test ./ProtonMailBridge.UI.Tests.csproj -- NUnit.Where="cat != TemporarilyExcluded"
|
||||
|
||||
- |
|
||||
pwsh "$Env:CI_PROJECT_DIR/tests/e2e/ui_tests/windows_os/InstallerScripts/Get-BridgeInstaller.ps1"
|
||||
- |
|
||||
$Env:no_grpc_proxy="127.0.0.1"
|
||||
$no_grpc_proxy="127.0.0.1"
|
||||
dotnet test ./ProtonMailBridge.UI.Tests.csproj -- NUnit.Where="cat != TemporarilyExcluded"
|
||||
after_script:
|
||||
- cp /c/users/gitlab-runner/AppData/Roaming/protonmail/bridge-v3/logs/* $CI_PROJECT_DIR/tests/e2e/ui_tests/windows_os/Results/artifacts/Logs/
|
||||
- pwsh $CI_PROJECT_DIR/tests/e2e/ui_tests/windows_os/InstallerScripts/Remove-Bridge.ps1
|
||||
|
||||
- |
|
||||
cp "C:\Users\gitlab-runner\AppData\Roaming\protonmail\bridge-v3\logs\*" "$Env:CI_PROJECT_DIR\tests\e2e\ui_tests\windows_os\Results\artifacts\Logs\"
|
||||
- |
|
||||
pwsh "$Env:CI_PROJECT_DIR\tests\e2e\ui_tests\windows_os\InstallerScripts\Remove-Bridge.ps1"
|
||||
artifacts:
|
||||
paths:
|
||||
- tests/e2e/ui_tests/windows_os/Results/artifacts/*
|
||||
|
||||
Reference in New Issue
Block a user