-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (33 loc) · 943 Bytes
/
E2Etest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Run E2E Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: windows-latest
env:
REPO_ROOT: ${{ github.workspace }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0' # Updated to .NET 8
- name: Install Chrome
run: choco install googlechrome --ignore-checksums
- name: Sleep for 10m
run: Start-Sleep -s 600
shell: powershell
- name: Navigate to E2E Tests directory
run: cd Backend/Tests/E2E.Tests
- name: Restore .NET packages
run: dotnet restore Backend/Tests/E2E.Tests/E2E.Tests.csproj
- name: Restore .NET packages
run: dotnet build Backend/Tests/E2E.Tests/E2E.Tests.csproj
- name: Run E2E Tests
run: dotnet test Backend/Tests/E2E.Tests/E2E.Tests.csproj