Skip to content

Commit

Permalink
- run unit tests separately
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Lemma (Waferwire LLC) committed May 6, 2024
1 parent 7a946cd commit 508b8bd
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/simple-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request

jobs:
build:
buildAndUnitTests:

runs-on: windows-latest

Expand All @@ -22,6 +22,27 @@ jobs:
run: dotnet build "./Microsoft.Health.Fhir.sln" --no-restore
# run: dotnet build "./Microsoft.Health.Fhir.sln" --configuration ${{inputs.buildConfiguration}} "-p:ContinuousIntegrationBuild=true;AssemblyVersion=${{inputs.assemblyVersion}};FileVersion=${{inputs.fileVersion}};InformationalVersion=${{inputs.informationalVersion}};Version=${{inputs.majorMinorPatch}}" -warnaserror

- name: Test
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~UnitTests" --verbosity normal
- name: Test Azure.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~Azure.UnitTests" --verbosity normal
# run: dotnet test "Microsoft.Health.Fhir.sln" -p:ContinuousIntegrationBuild=true; --filter "FullyQualifiedName~Core.UnitTests" --configuration ${{inputs.buildConfiguration}} --no-build --verbosity normal

- name: Test Core.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~Core.UnitTests" --verbosity normal

- name: Test CosmosDb.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~CosmosDb.UnitTests" --verbosity normal

- name: Test Api.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~Api.UnitTests" --verbosity normal

- name: Test Web.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~Web.UnitTests" --verbosity normal

- name: Test SchemaManager.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~SchemaManager.UnitTests" --verbosity normal

- name: Test SqlServer.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~SqlServer.UnitTests" --verbosity normal

- name: Test TaskManagement.UnitTests
run: dotnet test "Microsoft.Health.Fhir.sln" --no-build --filter "FullyQualifiedName~TaskManagement.UnitTests" --verbosity normal

0 comments on commit 508b8bd

Please sign in to comment.