Skip to content

staging PR

staging PR #36

Workflow file for this run

name: Unit Test
on:
pull_request:
push:
jobs:
unit-test:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup .NET 7.0
uses: actions/[email protected]
with:
dotnet-version: '7.0.x'
- name: Restore dependencies
run: dotnet restore Contentstack.Net.sln
- name: Build solution
run: dotnet build Contentstack.Net.sln --no-restore --configuration Debug
- name: Run unit tests
run: dotnet test Contentstack.Core.Unit.Tests/Contentstack.Core.Unit.Tests.csproj --no-build --verbosity normal --configuration Debug