Skip to content

Commit 6ff67cc

Browse files
committed
2 parents a8b5bcb + 8236797 commit 6ff67cc

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 🧪 Run Playwright UI Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
playwright-ui-tests:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: ⬇️ Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: 🧰 Set up .NET 8
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: 8.0.x
21+
22+
- name: 📦 Restore dependencies
23+
run: dotnet restore
24+
25+
- name: 🔨 Build project
26+
run: dotnet build --configuration Release
27+
28+
- name: 🚀 Install Playwright browsers
29+
run: pwsh bin/Debug/net8.0/playwright.ps1 install
30+
31+
- name: 🧪 Run UI tests
32+
run: dotnet test --configuration Release --logger "console;verbosity=detailed"

0 commit comments

Comments
 (0)