File tree Expand file tree Collapse file tree 1 file changed +54
-3
lines changed
Expand file tree Collapse file tree 1 file changed +54
-3
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,62 @@ jobs:
7373 dotnet package update --project "$p"
7474 done
7575
76+ - name : Install browser dependencies
77+ run : |
78+ sudo apt-get update
79+ sudo apt-get install -y \
80+ libgtk-3-0 \
81+ libgtk-4-1 \
82+ libgbm1 \
83+ libnss3 \
84+ libasound2t64 \
85+ libxss1 \
86+ libxtst6 \
87+ libx11-xcb1 \
88+ libxcomposite1 \
89+ libxdamage1 \
90+ libxrandr2 \
91+ libxinerama1 \
92+ libgl1 \
93+ libdrm2 \
94+ libpango-1.0-0 \
95+ libcairo2 \
96+ libatspi2.0-0 \
97+ libcups2 \
98+ libwoff1 \
99+ libvpx9 \
100+ libevent-2.1-7 \
101+ libopus0 \
102+ libavif16 \
103+ libharfbuzz-icu0 \
104+ libsecret-1-0 \
105+ libhyphen0 \
106+ libmanette-0.2-0 \
107+ libgles2 \
108+ libx264-164 \
109+ libgstreamer-plugins-bad1.0-0 \
110+ libflite1
111+
112+ - name : Restore dependencies
113+ run : dotnet restore
114+
76115 - name : Build
77- run : dotnet build "${{ steps.sln.outputs.sln }}" -c Release --no-restore
116+ run : dotnet build --configuration Release --no-restore
117+
118+ - name : Install Playwright CLI
119+ run : dotnet tool install --global Microsoft.Playwright.CLI
120+
121+ - name : Add .NET tools to PATH
122+ run : echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
123+
124+ - name : Install Playwright Browsers
125+ run : playwright install
126+
127+ - name : Test (NUnit)
128+ run : dotnet test Playwright.NUnit.Testing/Playwright.NUnit.Testing.csproj --configuration Release --no-build
78129
79- - name : Test
80- run : dotnet test "${{ steps.sln.outputs.sln }}" -c Release --no-build
130+ - name : Test (TUnit)
131+ run : dotnet run --configuration Release --project Playwright.TUnit.Testing/Playwright.TUnit.Testing.csproj
81132
82133 - name : Commit and push if there are changes
83134 shell : bash
You can’t perform that action at this time.
0 commit comments