Skip to content

Commit

Permalink
Merge pull request #112 from Numpsy/extension_test_ci
Browse files Browse the repository at this point in the history
Run the OpenMcdf.Extensions unit tests in CI builds
  • Loading branch information
ironfede authored Feb 22, 2024
2 parents 4b56b5e + 8235d03 commit 0bc739c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:
appFramework: 'net6.0'
# pay attention to slashes
testsProject: 'sources/Test/OpenMcdf.Test/OpenMcdf.Test.csproj'
extensionTestsProject: 'sources/Test/OpenMcdf.Extensions.Test/OpenMcdf.Extensions.Test.csproj'
buildProject: 'sources/OpenMcdf/OpenMcdf.csproj'
# without filter it will timoeout in azure AFTER 60+ min
testFilter: 'Name!=Test_FIX_BUG_GH_14&Name!=Test_FIX_BUG_GH_15'
Expand All @@ -24,6 +25,11 @@ steps:
displayName: 'dotnet build $(buildConfiguration)'

- script: dotnet test -f $(appFramework) $(testsProject) --filter="$(testFilter)" --logger trx
displayName: 'OpenMcdf unit tests'

- script: dotnet test $(extensionTestsProject) --logger trx
displayName: 'OpenMcdf.Extensions unit tests'

- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
Expand Down

0 comments on commit 0bc739c

Please sign in to comment.