Skip to content

Commit

Permalink
Merge branch 'main' into playwright.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Apr 29, 2024
2 parents cf34613 + 75322ad commit 79d6886
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Orchard Core Contrib
name: Orchard Core Contrib Testing

on:
pull_request:
Expand All @@ -9,20 +9,24 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
build:
name: Build windows-latest
runs-on: windows-latest
test:
runs-on: ${{ matrix.os }}
name: Build & Test
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.*
- name: Install Dependencies
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Installing Playwright Browsers and dependencies
- name: Playwright
run: pwsh test/OrchardCoreContrib.Testing.UI.Tests/bin/Release/net8.0/playwright.ps1 install --with-deps
- name: Test
run: dotnet test --no-restore --verbosity normal
run: dotnet test -c Release --no-build

0 comments on commit 79d6886

Please sign in to comment.