mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-22 06:54:44 +00:00
reverting Linux CI changes, skipping printer test in CI
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -22,13 +22,6 @@ jobs:
|
||||
8.0.x
|
||||
10.0.x
|
||||
|
||||
- name: Setup virtual environment
|
||||
run: |
|
||||
export DISPLAY=:99
|
||||
echo "DISPLAY=:99" >> $GITHUB_ENV
|
||||
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||
sleep 30
|
||||
|
||||
- name: Build
|
||||
run: ./build.sh
|
||||
|
||||
|
||||
@@ -72,9 +72,10 @@ namespace ElectronNET.IntegrationTests.Tests
|
||||
ok.Should().BeTrue();
|
||||
}
|
||||
|
||||
[Fact(Timeout = 5000)]
|
||||
[SkippableFact(Timeout = 5000)]
|
||||
public async Task GetPrintersAsync_check()
|
||||
{
|
||||
Skip.If(Environment.GetEnvironmentVariable("GITHUB_TOKEN") != null, "Skipping printer test in CI environment.");
|
||||
var info = await fx.MainWindow.WebContents.GetPrintersAsync();
|
||||
info.Should().NotBeNull();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user