File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
src/ElectronNET.IntegrationTests/Tests Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 2222 8.0.x
2323 10.0.x
2424
25- - name : Setup virtual environment
26- run : |
27- export DISPLAY=:99
28- echo "DISPLAY=:99" >> $GITHUB_ENV
29- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
30- sleep 30
31-
3225 - name : Build
3326 run : ./build.sh
3427
Original file line number Diff line number Diff line change @@ -72,9 +72,10 @@ public async Task Can_basic_print()
7272 ok . Should ( ) . BeTrue ( ) ;
7373 }
7474
75- [ Fact ( Timeout = 5000 ) ]
75+ [ SkippableFact ( Timeout = 5000 ) ]
7676 public async Task GetPrintersAsync_check ( )
7777 {
78+ Skip . If ( Environment . GetEnvironmentVariable ( "GITHUB_TOKEN" ) != null , "Skipping printer test in CI environment." ) ;
7879 var info = await fx . MainWindow . WebContents . GetPrintersAsync ( ) ;
7980 info . Should ( ) . NotBeNull ( ) ;
8081 }
You can’t perform that action at this time.
0 commit comments