feat: Added ApiVersion for global field to fetch the nested ones and clean the header after the fetch #339
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 & Reports | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| unit-test: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup .NET Core @ Latest | |
| uses: actions/setup-dotnet@v4.3.0 | |
| - name: Build solution and run unit test | |
| run: sh ./Scripts/run-unit-test-case.sh | |
| - name: Test Report | |
| uses: dorny/test-reporter@v1 | |
| if: success() || failure() | |
| with: | |
| name: DotNet unit Tests | |
| path: ./Contentstack.Management.Core.Unit.Tests/TestResults/Report-Contentstack-DotNet-Test-Case.trx | |
| reporter: dotnet-trx | |
| fail-on-error: true |