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:
|
extends:
|
||||||
- .rules-branch-manual-scheduled-and-test-branch-always
|
- .rules-branch-manual-scheduled-and-test-branch-always
|
||||||
tags:
|
tags:
|
||||||
- inbox-virt-windows-ui-v1
|
- inbox-hyperv-windows-v1
|
||||||
|
image: windows-2022-inbox-gui-1.0.0
|
||||||
variables:
|
variables:
|
||||||
REQUIRES_GRAPHICAL_CONSOLE: true
|
REQUIRES_GRAPHICAL_CONSOLE: true
|
||||||
before_script:
|
before_script:
|
||||||
@ -146,13 +147,17 @@ test-e2e-ui:
|
|||||||
- dotnet restore ./ProtonMailBridge.UI.Tests.csproj
|
- dotnet restore ./ProtonMailBridge.UI.Tests.csproj
|
||||||
- dotnet list package
|
- dotnet list package
|
||||||
script:
|
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:
|
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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- tests/e2e/ui_tests/windows_os/Results/artifacts/*
|
- tests/e2e/ui_tests/windows_os/Results/artifacts/*
|
||||||
|
|||||||
Reference in New Issue
Block a user