Skip to content

Commit

Permalink
Create E2Etest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raga70 authored May 1, 2024
1 parent 1dfecb0 commit e71e39a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/E2Etest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run E2E Tests

on:
push:
branches:
- main
paths:
- 'Backend/Tests/E2E.Tests/**'
pull_request:
branches:
- main
paths:
- 'Backend/Tests/E2E.Tests/**'

jobs:
test:
runs-on: windows-latest

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: Navigate to E2E Tests directory
run: cd Backend/Tests/E2E.Tests

- name: Restore .NET packages
run: dotnet restore

- name: Run E2E Tests
run: dotnet test

0 comments on commit e71e39a

Please sign in to comment.