Update all packages to latest version #47
Workflow file for this run
This file contains 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: Test .NET | |
on: | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '.github/**' | |
- '**/*.Sdk.TypeScript/**' | |
workflow_call: | |
workflow_dispatch: | |
env: | |
SOLUTION: ./Neuroglia Framework.sln | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ['8.0.x' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Restore dependencies | |
run: dotnet restore "${{ env.SOLUTION }}" | |
- name: Build solution | |
run: dotnet build "${{ env.SOLUTION }}" --configuration Debug --no-restore | |
# # Run every tests | |
# - name: Test | |
# run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --verbosity normal | |
# Run test 'per domain' | |
- name: Test Core | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Core" | |
- name: Test Data.NsmTreeTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.NsmTreeTests" | |
- name: Test Data.Expressions | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Expressions" | |
- name: Test Data.Guards | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Guards" | |
- name: Test Data.Infrastructure.EventSourcing.EventAggregatorTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.EventAggregatorTests" | |
- name: Test Data.Infrastructure.EventSourcing.EventSourcingRepositoryTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.EventSourcingRepositoryTests" | |
- name: Test Data.Infrastructure.EventSourcing.AggregateStateManagerTestsBase | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.AggregateStateManagerTestsBase" | |
- name: Test Data.Infrastructure.EventSourcing.EventStores.ESEventStoreTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.EventStores.ESEventStoreTests" | |
- name: Test Data.Infrastructure.EventSourcing.EventStores.MemoryEventStoreTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.EventStores.MemoryEventStoreTests" | |
- name: Test Data.Infrastructure.EventSourcing.EventStores.RedisEventStoreTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.EventSourcing.EventStores.RedisEventStoreTests" | |
- name: Test Data.Infrastructure.ObjectStorage | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter FullyQualifiedName~"Data.Infrastructure.ObjectStorage" | |
- name: Test Data.Infrastructure.Repositories.EventSourcingRepositoryTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.Repositories.EventSourcingRepositoryTests" | |
- name: Test Data.Infrastructure.Repositories.MemoryCacheRepositoryTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.Repositories.MemoryCacheRepositoryTests" | |
- name: Test Data.Infrastructure.Repositories.MongoRepositoryTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.Repositories.MongoRepositoryTests" | |
- name: Test Data.Infrastructure.ResourceOriented.Databases.RedisDatabaseTests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Infrastructure.ResourceOriented.Databases.RedisDatabaseTests" | |
- name: Test Data.PatchModel | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.PatchModel" | |
- name: Test Data.Schemas.Json | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Data.Schemas.Json" | |
- name: Test Eventing.CloudEvents | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Eventing.CloudEvents" | |
- name: Test Measurements | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Measurements" | |
- name: Test Mediation | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Mediation" | |
- name: Test Measurementss | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Measurements" | |
- name: Test Plugins | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Measurements" | |
- name: Test Measurementss | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Measurements" | |
- name: Test Serialization | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName~Serialization" | |
- name: Other tests | |
run: dotnet test "${{ env.SOLUTION }}" --no-build --configuration Debug --no-restore --verbosity normal --filter "FullyQualifiedName\!~Core&FullyQualifiedName\!~Data.NsmTreeTests&FullyQualifiedName\!~Data.Expressions&FullyQualifiedName\!~Data.Guards&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.EventAggregatorTests&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.EventSourcingRepositoryTests&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.AggregateStateManagerTestsBase&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.EventStores.ESEventStoreTests&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.EventStores.MemoryEventStoreTests&FullyQualifiedName\!~Data.Infrastructure.EventSourcing.EventStores.RedisEventStoreTests&FullyQualifiedName\!~Data.Infrastructure.ObjectStorage&FullyQualifiedName\!~Data.Infrastructure.Repositories.EventSourcingRepositoryTests&FullyQualifiedName\!~Data.Infrastructure.Repositories.MemoryCacheRepositoryTests&FullyQualifiedName\!~Data.Infrastructure.Repositories.MongoRepositoryTests&FullyQualifiedName\!~Data.Infrastructure.ResourceOriented.Databases.RedisDatabaseTests&FullyQualifiedName\!~Data.PatchModel&FullyQualifiedName\!~Data.Schemas.Json&FullyQualifiedName\!~Eventing.CloudEvents&FullyQualifiedName\!~Measurements&FullyQualifiedName\!~Mediation&FullyQualifiedName\!~Plugins&FullyQualifiedName\!~Serialization" |