staging PR #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |