From 1c3a024a632ed15f407229b2de1146bbc13fcd5c Mon Sep 17 00:00:00 2001 From: Ron Clabo Date: Mon, 31 Oct 2022 15:10:58 -0400 Subject: [PATCH 1/9] Removed .NET Core 3.1 support. .NET Core 3.1 will reach end of live in 45 days on Dec 13, 2022 --- .build/runbuild.ps1 | 1 + TestTargetFramework.props | 3 +- azure-pipelines.yml | 67 ------------------- .../Lucene.Net.Tests.Cli.csproj | 2 +- src/dotnet/tools/lucene-cli/lucene-cli.csproj | 2 +- .../apidocs/apiSpec/core/Lucene_Net_Codecs.md | 4 +- 6 files changed, 6 insertions(+), 73 deletions(-) diff --git a/.build/runbuild.ps1 b/.build/runbuild.ps1 index e40ab60cd5..b8c865c97d 100644 --- a/.build/runbuild.ps1 +++ b/.build/runbuild.ps1 @@ -50,6 +50,7 @@ properties { [int]$maximumParallelJobs = 8 #test parameters + #The build uses Lucene.Net.Tests.Analysis.Common to determine all of the targets for the solution: [string]$projectWithAllTestFrameworks = "$baseDirectory/src/Lucene.Net.Tests.Analysis.Common/Lucene.Net.Tests.Analysis.Common.csproj" [string]$where = "" } diff --git a/TestTargetFramework.props b/TestTargetFramework.props index fd7e237477..a9c0314df5 100644 --- a/TestTargetFramework.props +++ b/TestTargetFramework.props @@ -28,14 +28,13 @@ this setting only affects the test projects. --> - net5.0 - net6.0;net5.0;netcoreapp3.1 + net6.0;net5.0; $(TargetFrameworks);net48;net461 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f10a75b420..3f3341dbf3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -243,13 +243,6 @@ stages: binaryArtifactName: '$(BinaryArtifactName)' testSettingsFilePath: '$(Build.ArtifactStagingDirectory)/$(TestSettingsFileName)' - - template: '.build/azure-templates/publish-test-binaries.yml' - parameters: - publishDirectory: $(PublishTempDirectory) - framework: 'netcoreapp3.1' - binaryArtifactName: '$(BinaryArtifactName)' - testSettingsFilePath: '$(Build.ArtifactStagingDirectory)/$(TestSettingsFileName)' - - template: '.build/azure-templates/publish-test-binaries.yml' parameters: publishDirectory: $(PublishTempDirectory) @@ -445,66 +438,6 @@ stages: maximumAllowedFailures: $(maximumAllowedFailures) dotNetSdkVersion: '$(DotNetSDKVersion)' - - job: Test_netcoreapp3_1_x64 - condition: and(succeeded(), ne(variables['RunTests'], 'false')) - strategy: - matrix: - Windows: - osName: 'Windows' - imageName: 'windows-2019' - maximumParallelJobs: 8 - maximumAllowedFailures: 0 # Maximum allowed failures for a successful build - Linux: - osName: 'Linux' - imageName: 'ubuntu-latest' - maximumParallelJobs: 7 - maximumAllowedFailures: 0 # Maximum allowed failures for a successful build - macOS: - osName: 'macOS' - imageName: 'macOS-latest' - maximumParallelJobs: 7 - maximumAllowedFailures: 0 # Maximum allowed failures for a successful build - displayName: 'Test netcoreapp3.1,x64 on' - pool: - vmImage: $(imageName) - steps: - - template: '.build/azure-templates/run-tests-on-os.yml' - parameters: - osName: $(osName) - framework: 'netcoreapp3.1' - vsTestPlatform: 'x64' - testBinariesArtifactName: '$(TestBinariesArtifactName)' - nugetArtifactName: '$(NuGetArtifactName)' - testResultsArtifactName: '$(TestResultsArtifactName)' - maximumParallelJobs: $(maximumParallelJobs) - maximumAllowedFailures: $(maximumAllowedFailures) - dotNetSdkVersion: '$(DotNetSDKVersion)' - - - job: Test_netcoreapp3_1_x86 # Only run Nightly or if explicitly enabled with RunX86Tests - condition: and(succeeded(), ne(variables['RunTests'], 'false'), or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true'))) - strategy: - matrix: - Windows: - osName: 'Windows' - imageName: 'windows-2019' - maximumParallelJobs: 8 - maximumAllowedFailures: 0 # Maximum allowed failures for a successful build - displayName: 'Test netcoreapp3.1,x86 on' - pool: - vmImage: $(imageName) - steps: - - template: '.build/azure-templates/run-tests-on-os.yml' - parameters: - osName: $(osName) - framework: 'netcoreapp3.1' - vsTestPlatform: 'x86' - testBinariesArtifactName: '$(TestBinariesArtifactName)' - nugetArtifactName: '$(NuGetArtifactName)' - testResultsArtifactName: '$(TestResultsArtifactName)' - maximumParallelJobs: $(maximumParallelJobs) - maximumAllowedFailures: $(maximumAllowedFailures) - dotNetSdkVersion: '$(DotNetSDKVersion)' - - job: Test_net461_x64 condition: and(succeeded(), ne(variables['RunTests'], 'false')) strategy: diff --git a/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj b/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj index f4940daa81..00f2696421 100644 --- a/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj +++ b/src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj @@ -25,7 +25,7 @@ - net6.0;net5.0;netcoreapp3.1 + net6.0;net5.0 net6.0 Lucene.Net.Tests.Cli diff --git a/src/dotnet/tools/lucene-cli/lucene-cli.csproj b/src/dotnet/tools/lucene-cli/lucene-cli.csproj index aa3117f77f..6caebf627e 100644 --- a/src/dotnet/tools/lucene-cli/lucene-cli.csproj +++ b/src/dotnet/tools/lucene-cli/lucene-cli.csproj @@ -24,7 +24,7 @@ - net6.0;net5.0;netcoreapp3.1 + net6.0;net5.0 true false diff --git a/websites/apidocs/apiSpec/core/Lucene_Net_Codecs.md b/websites/apidocs/apiSpec/core/Lucene_Net_Codecs.md index 479cc33ad5..af71940e18 100644 --- a/websites/apidocs/apiSpec/core/Lucene_Net_Codecs.md +++ b/websites/apidocs/apiSpec/core/Lucene_Net_Codecs.md @@ -1,4 +1,4 @@ ---- +--- uid: Lucene.Net.Codecs summary: *content --- @@ -178,7 +178,7 @@ The library contains specialized classes to mini > See [Unit testing C# with NUnit and .NET Core](https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-nunit) for detailed instructions on how to set up a class library to use with NUnit. > [!NOTE] -> .NET Standard is not an executable target. Tests will not run unless you target a framework such as `netcoreapp3.1` or `net48`. +> .NET Standard is not an executable target. Tests will not run unless you target a framework such as `net6.0` or `net48`. Here is an example project file for .NET 5 for testing a project named `MyCodecs.csproj`. From c5dbf3e1bd915fa2cdf32dab727c50989f9c2162 Mon Sep 17 00:00:00 2001 From: Ron Clabo Date: Mon, 31 Oct 2022 17:04:43 -0400 Subject: [PATCH 2/9] Removed .NET Core 3.1 support from GitHub Actions --- .github/workflows/Generate-TestWorkflows.ps1 | 17 ++++------------- .../workflows/Lucene-Net-Tests-AllProjects.yml | 8 +------- .../Lucene-Net-Tests-Analysis-Common.yml | 8 +------- .../Lucene-Net-Tests-Analysis-Kuromoji.yml | 8 +------- .../Lucene-Net-Tests-Analysis-Morfologik.yml | 8 +------- .../Lucene-Net-Tests-Analysis-OpenNLP.yml | 8 +------- .../Lucene-Net-Tests-Analysis-Phonetic.yml | 8 +------- .../Lucene-Net-Tests-Analysis-SmartCn.yml | 8 +------- .../Lucene-Net-Tests-Analysis-Stempel.yml | 8 +------- .../workflows/Lucene-Net-Tests-Benchmark.yml | 8 +------- .../Lucene-Net-Tests-Classification.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Cli.yml | 8 +------- .../workflows/Lucene-Net-Tests-CodeAnalysis.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Codecs.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Demo.yml | 8 +------- .../workflows/Lucene-Net-Tests-Expressions.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Facet.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Grouping.yml | 8 +------- .../workflows/Lucene-Net-Tests-Highlighter.yml | 8 +------- .github/workflows/Lucene-Net-Tests-ICU.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Join.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Memory.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Misc.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Queries.yml | 8 +------- .../workflows/Lucene-Net-Tests-QueryParser.yml | 8 +------- .../workflows/Lucene-Net-Tests-Replicator.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Sandbox.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Spatial.yml | 8 +------- .github/workflows/Lucene-Net-Tests-Suggest.yml | 8 +------- ...-Tests-TestFramework-DependencyInjection.yml | 8 +------- .../Lucene-Net-Tests-TestFramework.yml | 8 +------- .github/workflows/Lucene-Net-Tests-_A-D.yml | 8 +------- .github/workflows/Lucene-Net-Tests-_E-I.yml | 8 +------- .github/workflows/Lucene-Net-Tests-_I-J.yml | 8 +------- .github/workflows/Lucene-Net-Tests-_J-S.yml | 8 +------- .github/workflows/Lucene-Net-Tests-_T-Z.yml | 8 +------- 36 files changed, 39 insertions(+), 258 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index 0ccc7977a2..a99df681d5 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -75,9 +75,7 @@ param( [string]$DotNet6SDKVersion = '6.0.100', - [string]$DotNet5SDKVersion = '5.0.400', - - [string]$DotNetCore3SDKVersion = '3.1.412' + [string]$DotNet5SDKVersion = '5.0.400' ) @@ -158,8 +156,7 @@ function Write-TestWorkflow( [string[]]$TestPlatforms = @('x64'), [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest', 'macos-latest'), [string]$DotNet6SDKVersion = $DotNet6SDKVersion, - [string]$DotNet5SDKVersion = $DotNet5SDKVersion, - [string]$DotNetCore3SDKVersion = $DotNetCore3SDKVersion) { + [string]$DotNet5SDKVersion = $DotNet5SDKVersion) { $dependencies = New-Object System.Collections.Generic.HashSet[string] Get-ProjectDependencies $ProjectPath $RelativeRoot $dependencies @@ -256,12 +253,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '$DotNetCore3SDKVersion' - if: `${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: @@ -317,7 +308,7 @@ try { Pop-Location } -#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $projectPath -RelativeRoot $repoRoot -TestFrameworks @('net5.0','netcoreapp3.1') -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion -DotNetCore3SDKVersion $DotNetCore3SDKVersion +#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $projectPath -RelativeRoot $repoRoot -TestFrameworks @('net5.0') -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion #Write-Host $TestProjects @@ -344,5 +335,5 @@ foreach ($testProject in $TestProjects) { Write-Host "Frameworks To Test for ${projectName}: $($frameworks -join ';')" -ForegroundColor Cyan #Write-Host "Project: $projectName" - Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion -DotNetCore3SDKVersion $DotNetCore3SDKVersion + Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion } \ No newline at end of file diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml index 853d9a02ea..489eecf44b 100644 --- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml +++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -92,12 +92,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml index bd906e3e68..a8106b9436 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -76,12 +76,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml index 35729a83d2..cb5fd77170 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -73,12 +73,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml index f38467cfca..aeecb62b0d 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -73,12 +73,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml index 703425d4ee..e0f38af31e 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -76,12 +76,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml index 797410b003..0acc86bc13 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -70,12 +70,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml index b171f29820..3d261a5e79 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -74,12 +74,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml index b7181ba6ff..ec55685760 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml index 6a1aedc7ff..0be7f4e7ec 100644 --- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml +++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -83,12 +83,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml index eee3a619cb..e5fbafe8c9 100644 --- a/.github/workflows/Lucene-Net-Tests-Classification.yml +++ b/.github/workflows/Lucene-Net-Tests-Classification.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml index c236acc1a2..3d2beb5eb0 100644 --- a/.github/workflows/Lucene-Net-Tests-Cli.yml +++ b/.github/workflows/Lucene-Net-Tests-Cli.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -90,12 +90,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml index 885bf32aa4..9e69a017b9 100644 --- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml +++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -69,12 +69,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml index 1c2d38e051..86b786f6e0 100644 --- a/.github/workflows/Lucene-Net-Tests-Codecs.yml +++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -69,12 +69,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml index 8a4eefb782..d6e5ff44dd 100644 --- a/.github/workflows/Lucene-Net-Tests-Demo.yml +++ b/.github/workflows/Lucene-Net-Tests-Demo.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -78,12 +78,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml index 99e092e1cd..1e6bc6555e 100644 --- a/.github/workflows/Lucene-Net-Tests-Expressions.yml +++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml index 17495887c3..bf9fa3c0ec 100644 --- a/.github/workflows/Lucene-Net-Tests-Facet.yml +++ b/.github/workflows/Lucene-Net-Tests-Facet.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -73,12 +73,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml index 6af7be2bbf..f29a1eef2d 100644 --- a/.github/workflows/Lucene-Net-Tests-Grouping.yml +++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml index fbcef428ab..0c99a388ce 100644 --- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml +++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -73,12 +73,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml index 38da9e9491..a40de119ea 100644 --- a/.github/workflows/Lucene-Net-Tests-ICU.yml +++ b/.github/workflows/Lucene-Net-Tests-ICU.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -86,12 +86,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml index 1842c1bcd6..c8e18d0094 100644 --- a/.github/workflows/Lucene-Net-Tests-Join.yml +++ b/.github/workflows/Lucene-Net-Tests-Join.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -72,12 +72,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml index 03561505ba..d0c2ad6b6c 100644 --- a/.github/workflows/Lucene-Net-Tests-Memory.yml +++ b/.github/workflows/Lucene-Net-Tests-Memory.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -74,12 +74,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml index 459f9f2e45..76e5f806f2 100644 --- a/.github/workflows/Lucene-Net-Tests-Misc.yml +++ b/.github/workflows/Lucene-Net-Tests-Misc.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -70,12 +70,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml index 484805d974..7b133865d4 100644 --- a/.github/workflows/Lucene-Net-Tests-Queries.yml +++ b/.github/workflows/Lucene-Net-Tests-Queries.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -70,12 +70,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml index ee108b149d..5857d5c965 100644 --- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml +++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -76,12 +76,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml index 45d894c5c7..d922d8339e 100644 --- a/.github/workflows/Lucene-Net-Tests-Replicator.yml +++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -75,12 +75,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml index b3abaeb0ba..6f2b2de9c4 100644 --- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml +++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml index 5ffa3e1531..496ec2a693 100644 --- a/.github/workflows/Lucene-Net-Tests-Spatial.yml +++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -72,12 +72,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml index 0361e675e4..85bec71d96 100644 --- a/.github/workflows/Lucene-Net-Tests-Suggest.yml +++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -73,12 +73,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml index 7a0ccd6d3a..80327a37db 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -69,12 +69,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml index 249880582a..60646b4f94 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -71,12 +71,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml index 1ac7cd38c3..b67dd9d429 100644 --- a/.github/workflows/Lucene-Net-Tests-_A-D.yml +++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -80,12 +80,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml index 04518500bd..f08381df67 100644 --- a/.github/workflows/Lucene-Net-Tests-_E-I.yml +++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -90,12 +90,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml index 2ae5b8ee9b..9480881d59 100644 --- a/.github/workflows/Lucene-Net-Tests-_I-J.yml +++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -95,12 +95,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml index 3b037b206d..1ea8e2f53d 100644 --- a/.github/workflows/Lucene-Net-Tests-_J-S.yml +++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,12 +82,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml index 9282942edc..5f9b2b85f5 100644 --- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml +++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -77,12 +77,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET 3.1 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.412' - if: ${{ startswith(matrix.framework, 'netcoreapp3.') }} - - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 with: From 347021782c84a8ff8294efaf049c48fdf97b109f Mon Sep 17 00:00:00 2001 From: Ron Clabo Date: Mon, 31 Oct 2022 18:34:03 -0400 Subject: [PATCH 3/9] bumped min version for lucene-cli --- src/dotnet/tools/lucene-cli/docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dotnet/tools/lucene-cli/docs/index.md b/src/dotnet/tools/lucene-cli/docs/index.md index 78a902e5f6..53629c3eac 100644 --- a/src/dotnet/tools/lucene-cli/docs/index.md +++ b/src/dotnet/tools/lucene-cli/docs/index.md @@ -1,10 +1,10 @@ -# Lucene.NET command line interface (CLI) tools +# Lucene.NET command line interface (CLI) tools The Lucene.NET command line interface (CLI) is a new cross-platform toolchain with utilities for maintaining Lucene.NET and demos for learning basic Lucene.NET functionality. ## Prerequisites -- [.NET Core 3.1 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet) +- [.NET Core 5.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet) ## Installation From a0b472f07ae983a5d683364c08ef36ac9c6c7ebc Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 06:06:56 +0700 Subject: [PATCH 4/9] TestTargetFramework.props: Removed extra ; delimiter --- TestTargetFramework.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestTargetFramework.props b/TestTargetFramework.props index a9c0314df5..7f59aafb57 100644 --- a/TestTargetFramework.props +++ b/TestTargetFramework.props @@ -34,7 +34,7 @@ - net6.0;net5.0; + net6.0;net5.0 $(TargetFrameworks);net48;net461 From 809412c0eaed10b8f520ceabacd58013c6d41abf Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 06:08:49 +0700 Subject: [PATCH 5/9] lucene-cli/docs/index.md: Changed .NET Core 5.0 to .NET 5.0 --- src/dotnet/tools/lucene-cli/docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet/tools/lucene-cli/docs/index.md b/src/dotnet/tools/lucene-cli/docs/index.md index 53629c3eac..1c83bc76f8 100644 --- a/src/dotnet/tools/lucene-cli/docs/index.md +++ b/src/dotnet/tools/lucene-cli/docs/index.md @@ -4,7 +4,7 @@ The Lucene.NET command line interface (CLI) is a new cross-platform toolchain wi ## Prerequisites -- [.NET Core 5.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet) +- [.NET 5.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet) ## Installation From 15197a9e5571fefbc4a9dfd08659790b58f25b5a Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 17:27:30 +0700 Subject: [PATCH 6/9] .github/workflows/Generate-TestWorkflows.ps1: Added special case to generate lucene-cli.nupkg for the installation test. Set the SYSTEM_DEFAULTWORKINGDIRECTORY environment variable so the test runner knows not to build the package. --- .github/workflows/Generate-TestWorkflows.ps1 | 33 ++++++++++++++++--- .../Lucene-Net-Tests-AllProjects.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-Common.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-Kuromoji.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-Morfologik.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-OpenNLP.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-Phonetic.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-SmartCn.yml | 11 +++++-- .../Lucene-Net-Tests-Analysis-Stempel.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Benchmark.yml | 11 +++++-- .../Lucene-Net-Tests-Classification.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Cli.yml | 13 ++++++-- .../Lucene-Net-Tests-CodeAnalysis.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Codecs.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Demo.yml | 11 +++++-- .../Lucene-Net-Tests-Expressions.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Facet.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Grouping.yml | 11 +++++-- .../Lucene-Net-Tests-Highlighter.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-ICU.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Join.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Memory.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-Misc.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Queries.yml | 11 +++++-- .../Lucene-Net-Tests-QueryParser.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Replicator.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Sandbox.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Spatial.yml | 11 +++++-- .../workflows/Lucene-Net-Tests-Suggest.yml | 11 +++++-- ...ests-TestFramework-DependencyInjection.yml | 11 +++++-- .../Lucene-Net-Tests-TestFramework.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-_A-D.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-_E-I.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-_I-J.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-_J-S.yml | 11 +++++-- .github/workflows/Lucene-Net-Tests-_T-Z.yml | 11 +++++-- 36 files changed, 311 insertions(+), 109 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index a99df681d5..97de74a02f 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -170,6 +170,9 @@ function Write-TestWorkflow( $projectRelativeDirectory = ([System.IO.Path]::GetDirectoryName($projectRelativePath) -replace '\\', '/').TrimStart('./') $projectName = [System.IO.Path]::GetFileNameWithoutExtension($ProjectPath) + [bool]$isCLI = if ($projectName -eq "Lucene.Net.Tests.Cli") { $true } else { $false } # Special case + $luceneCliProjectPath = $projectRelativePath -replace "Lucene.Net.Tests.Cli", "lucene-cli" # Special case + [string]$frameworks = '[' + $($TestFrameworks -join ', ') + ']' [string]$platforms = '[' + $($TestPlatforms -join ', ') + ']' [string]$oses = '[' + $($OperatingSystems -join ', ') + ']' @@ -191,6 +194,8 @@ function Write-TestWorkflow( $directoryBuildPaths += " - '$path'" + [System.Environment]::NewLine } + + $fileText = "#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### @@ -246,7 +251,14 @@ jobs: - os: macos-latest framework: net461 env: - project_path: '$projectRelativePath' + project_path: '$projectRelativePath'" + + if ($isCLI) { + $fileText += " + project_under_test_path: '$luceneCliProjectPath'" + } + + $fileText += " trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -264,17 +276,30 @@ jobs: with: dotnet-version: '$DotNet6SDKVersion' - - run: | + - name: Setup Environment Variables + run: | `$project_name = [System.IO.Path]::GetFileNameWithoutExtension(`$env:project_path) `$test_results_artifact_name = `"testresults_`${{matrix.os}}_`${{matrix.framework}}_`${{matrix.platform}}_`${{matrix.configuration}}`" + `$working_directory = `"`$env:GITHUB_WORKSPACE`" Write-Host `"Project Name: `$project_name`" Write-Host `"Results Artifact Name: `$test_results_artifact_name`" + Write-Host `"Working Directory: `$working_directory`" echo `"project_name=`$project_name`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append echo `"test_results_artifact_name=`$test_results_artifact_name`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo `"SYSTEM_DEFAULTWORKINGDIRECTORY=`$working_directory`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo `"title=Test Run for `$project_name - `${{matrix.framework}} - `${{matrix.platform}} - `${{matrix.os}}`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append - shell: pwsh - - run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} /p:TestFrameworks=true + shell: pwsh" + + if ($isCLI) { + # Special case: Generate lucene-cli.nupkg for installation test so the test runner doesn't have to do it + $fileText += " + - run: dotnet pack `${{env.project_under_test_path}} --configuration `${{matrix.configuration}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true" + } + + $fileText += " + - run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:`"console;verbosity=normal`" --logger:`"trx;LogFileName=`${{env.trx_file_name}}`" --logger:`"liquid.md;LogFileName=`${{env.md_file_name}};Title=`${{env.title}};`" --results-directory:`"`${{github.workspace}}/`${{env.test_results_artifact_name}}/`${{env.project_name}}`" -- RunConfiguration.TargetPlatform=`${{matrix.platform}} TestRunParameters.Parameter\(name=\`"tests:slow\`",\ value=\`"false\`"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml index 489eecf44b..32a81c5617 100644 --- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml +++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -103,17 +103,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml index a8106b9436..c4ef1ee7ee 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -87,17 +87,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml index cb5fd77170..aa8c168ee2 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,17 +84,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml index aeecb62b0d..b795504c96 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,17 +84,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml index e0f38af31e..2aa9acf2ed 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -87,17 +87,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml index 0acc86bc13..43ba54b08d 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -81,17 +81,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml index 3d261a5e79..ff3913cd1f 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -85,17 +85,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml index ec55685760..94ddefab36 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml index 0be7f4e7ec..6fa7fcf3b3 100644 --- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml +++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -94,17 +94,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml index e5fbafe8c9..882a230256 100644 --- a/.github/workflows/Lucene-Net-Tests-Classification.yml +++ b/.github/workflows/Lucene-Net-Tests-Classification.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml index 3d2beb5eb0..a5dc77b76a 100644 --- a/.github/workflows/Lucene-Net-Tests-Cli.yml +++ b/.github/workflows/Lucene-Net-Tests-Cli.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,6 +84,7 @@ jobs: framework: net461 env: project_path: './src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj' + project_under_test_path: './src/dotnet/tools/lucene-cli/lucene-cli.csproj' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -101,17 +102,23 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet pack ${{env.project_under_test_path}} --configuration ${{matrix.configuration}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml index 9e69a017b9..fcda09cfc3 100644 --- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml +++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -80,17 +80,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml index 86b786f6e0..02cf5bea55 100644 --- a/.github/workflows/Lucene-Net-Tests-Codecs.yml +++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -80,17 +80,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml index d6e5ff44dd..f60c6944c3 100644 --- a/.github/workflows/Lucene-Net-Tests-Demo.yml +++ b/.github/workflows/Lucene-Net-Tests-Demo.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -89,17 +89,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml index 1e6bc6555e..855f9e3818 100644 --- a/.github/workflows/Lucene-Net-Tests-Expressions.yml +++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml index bf9fa3c0ec..abd1038ee7 100644 --- a/.github/workflows/Lucene-Net-Tests-Facet.yml +++ b/.github/workflows/Lucene-Net-Tests-Facet.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,17 +84,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml index f29a1eef2d..502b9161ef 100644 --- a/.github/workflows/Lucene-Net-Tests-Grouping.yml +++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml index 0c99a388ce..056bbb5522 100644 --- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml +++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,17 +84,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml index a40de119ea..250df56891 100644 --- a/.github/workflows/Lucene-Net-Tests-ICU.yml +++ b/.github/workflows/Lucene-Net-Tests-ICU.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -97,17 +97,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml index c8e18d0094..001098e21c 100644 --- a/.github/workflows/Lucene-Net-Tests-Join.yml +++ b/.github/workflows/Lucene-Net-Tests-Join.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -83,17 +83,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml index d0c2ad6b6c..0a0eb6a0d6 100644 --- a/.github/workflows/Lucene-Net-Tests-Memory.yml +++ b/.github/workflows/Lucene-Net-Tests-Memory.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -85,17 +85,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml index 76e5f806f2..647045603a 100644 --- a/.github/workflows/Lucene-Net-Tests-Misc.yml +++ b/.github/workflows/Lucene-Net-Tests-Misc.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -81,17 +81,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml index 7b133865d4..745dd92903 100644 --- a/.github/workflows/Lucene-Net-Tests-Queries.yml +++ b/.github/workflows/Lucene-Net-Tests-Queries.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -81,17 +81,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml index 5857d5c965..107f60c1bc 100644 --- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml +++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -87,17 +87,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml index d922d8339e..4036fa9e16 100644 --- a/.github/workflows/Lucene-Net-Tests-Replicator.yml +++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -86,17 +86,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml index 6f2b2de9c4..cafd848504 100644 --- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml +++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml index 496ec2a693..e5758eadea 100644 --- a/.github/workflows/Lucene-Net-Tests-Spatial.yml +++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -83,17 +83,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml index 85bec71d96..458254e1c7 100644 --- a/.github/workflows/Lucene-Net-Tests-Suggest.yml +++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -84,17 +84,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml index 80327a37db..b212c53646 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -80,17 +80,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml index 60646b4f94..83c8d4bca8 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -82,17 +82,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml index b67dd9d429..daedad3c32 100644 --- a/.github/workflows/Lucene-Net-Tests-_A-D.yml +++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -91,17 +91,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml index f08381df67..56949f2cf7 100644 --- a/.github/workflows/Lucene-Net-Tests-_E-I.yml +++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -101,17 +101,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml index 9480881d59..4b4e9dea15 100644 --- a/.github/workflows/Lucene-Net-Tests-_I-J.yml +++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -106,17 +106,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml index 1ea8e2f53d..04a523858f 100644 --- a/.github/workflows/Lucene-Net-Tests-_J-S.yml +++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -93,17 +93,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml index 5f9b2b85f5..2763e696d3 100644 --- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml +++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml @@ -1,4 +1,4 @@ -#################################################################################### +#################################################################################### # DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1 #################################################################################### # Licensed to the Apache Software Foundation (ASF) under one @@ -88,17 +88,22 @@ jobs: with: dotnet-version: '6.0.100' - - run: | + - name: Setup Environment Variables + run: | $project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path) $test_results_artifact_name = "testresults_${{matrix.os}}_${{matrix.framework}}_${{matrix.platform}}_${{matrix.configuration}}" + $working_directory = "$env:GITHUB_WORKSPACE" Write-Host "Project Name: $project_name" Write-Host "Results Artifact Name: $test_results_artifact_name" + Write-Host "Working Directory: $working_directory" echo "project_name=$project_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "test_results_artifact_name=$test_results_artifact_name" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + # Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable + echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) shell: bash # upload reports as build artifacts From 09bcce1277313600f7ef68a475a3845786feb70b Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 20:16:43 +0700 Subject: [PATCH 7/9] .github/workflows/Generate-TestWorkflows.ps1: Enabled slow tests for lucene-cli --- .github/workflows/Generate-TestWorkflows.ps1 | 10 +++++++--- .github/workflows/Lucene-Net-Tests-AllProjects.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Analysis-Common.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-Morfologik.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-Phonetic.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-SmartCn.yml | 5 +++-- .../workflows/Lucene-Net-Tests-Analysis-Stempel.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Benchmark.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Classification.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Cli.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-CodeAnalysis.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Codecs.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Demo.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Expressions.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Facet.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Grouping.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Highlighter.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-ICU.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Join.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Memory.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Misc.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Queries.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-QueryParser.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Replicator.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Sandbox.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Spatial.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-Suggest.yml | 5 +++-- ...ene-Net-Tests-TestFramework-DependencyInjection.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-TestFramework.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-_A-D.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-_E-I.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-_I-J.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-_J-S.yml | 5 +++-- .github/workflows/Lucene-Net-Tests-_T-Z.yml | 5 +++-- 36 files changed, 112 insertions(+), 73 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index 97de74a02f..dc6984dfb4 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -255,7 +255,11 @@ jobs: if ($isCLI) { $fileText += " - project_under_test_path: '$luceneCliProjectPath'" + project_under_test_path: '$luceneCliProjectPath' + run_slow_tests: 'true'" + } else { + $fileText += " + run_slow_tests: 'false'" } $fileText += " @@ -299,8 +303,8 @@ jobs: } $fileText += " - - run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:`"console;verbosity=normal`" --logger:`"trx;LogFileName=`${{env.trx_file_name}}`" --logger:`"liquid.md;LogFileName=`${{env.md_file_name}};Title=`${{env.title}};`" --results-directory:`"`${{github.workspace}}/`${{env.test_results_artifact_name}}/`${{env.project_name}}`" -- RunConfiguration.TargetPlatform=`${{matrix.platform}} TestRunParameters.Parameter\(name=\`"tests:slow\`",\ value=\`"false\`"\) + - run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:`"console;verbosity=normal`" --logger:`"trx;LogFileName=`${{env.trx_file_name}}`" --logger:`"liquid.md;LogFileName=`${{env.md_file_name}};Title=`${{env.title}};`" --results-directory:`"`${{github.workspace}}/`${{env.test_results_artifact_name}}/`${{env.project_name}}`" -- RunConfiguration.TargetPlatform=`${{matrix.platform}} TestRunParameters.Parameter\(name=\`"tests:slow\`",\ value=\`"\`${{env.run_slow_tests}}\`"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml index 32a81c5617..5cf1c1460e 100644 --- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml +++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml @@ -86,6 +86,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -118,8 +119,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml index c4ef1ee7ee..8e1c83d723 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml @@ -70,6 +70,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.Common/Lucene.Net.Tests.Analysis.Common.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -102,8 +103,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml index aa8c168ee2..c95e1950d4 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml @@ -67,6 +67,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.Kuromoji/Lucene.Net.Tests.Analysis.Kuromoji.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -99,8 +100,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml index b795504c96..d123bad4e2 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml @@ -67,6 +67,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.Morfologik/Lucene.Net.Tests.Analysis.Morfologik.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -99,8 +100,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml index 2aa9acf2ed..e1706b7449 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml @@ -70,6 +70,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.OpenNLP/Lucene.Net.Tests.Analysis.OpenNLP.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -102,8 +103,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml index 43ba54b08d..edb2d9b4e7 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml @@ -64,6 +64,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.Phonetic/Lucene.Net.Tests.Analysis.Phonetic.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -96,8 +97,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml index ff3913cd1f..3fbc9d65bf 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml @@ -68,6 +68,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.SmartCn/Lucene.Net.Tests.Analysis.SmartCn.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -100,8 +101,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml index 94ddefab36..cdf67120f5 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Analysis.Stempel/Lucene.Net.Tests.Analysis.Stempel.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml index 6fa7fcf3b3..9ed8a771c5 100644 --- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml +++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml @@ -77,6 +77,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Benchmark/Lucene.Net.Tests.Benchmark.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -109,8 +110,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml index 882a230256..28f4570458 100644 --- a/.github/workflows/Lucene-Net-Tests-Classification.yml +++ b/.github/workflows/Lucene-Net-Tests-Classification.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Classification/Lucene.Net.Tests.Classification.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml index a5dc77b76a..66ee8c4be1 100644 --- a/.github/workflows/Lucene-Net-Tests-Cli.yml +++ b/.github/workflows/Lucene-Net-Tests-Cli.yml @@ -85,6 +85,7 @@ jobs: env: project_path: './src/dotnet/tools/Lucene.Net.Tests.Cli/Lucene.Net.Tests.Cli.csproj' project_under_test_path: './src/dotnet/tools/lucene-cli/lucene-cli.csproj' + run_slow_tests: 'true' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -118,8 +119,8 @@ jobs: echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - run: dotnet pack ${{env.project_under_test_path}} --configuration ${{matrix.configuration}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml index fcda09cfc3..6442a1d544 100644 --- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml +++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml @@ -63,6 +63,7 @@ jobs: framework: net461 env: project_path: './src/dotnet/Lucene.Net.Tests.CodeAnalysis/Lucene.Net.Tests.CodeAnalysis.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -95,8 +96,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml index 02cf5bea55..01d9b94346 100644 --- a/.github/workflows/Lucene-Net-Tests-Codecs.yml +++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml @@ -63,6 +63,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Codecs/Lucene.Net.Tests.Codecs.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -95,8 +96,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml index f60c6944c3..dd3a211a2e 100644 --- a/.github/workflows/Lucene-Net-Tests-Demo.yml +++ b/.github/workflows/Lucene-Net-Tests-Demo.yml @@ -72,6 +72,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Demo/Lucene.Net.Tests.Demo.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -104,8 +105,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml index 855f9e3818..0991e80431 100644 --- a/.github/workflows/Lucene-Net-Tests-Expressions.yml +++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Expressions/Lucene.Net.Tests.Expressions.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml index abd1038ee7..21eec3f664 100644 --- a/.github/workflows/Lucene-Net-Tests-Facet.yml +++ b/.github/workflows/Lucene-Net-Tests-Facet.yml @@ -67,6 +67,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Facet/Lucene.Net.Tests.Facet.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -99,8 +100,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml index 502b9161ef..87becd0829 100644 --- a/.github/workflows/Lucene-Net-Tests-Grouping.yml +++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Grouping/Lucene.Net.Tests.Grouping.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml index 056bbb5522..d197d49d43 100644 --- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml +++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml @@ -67,6 +67,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Highlighter/Lucene.Net.Tests.Highlighter.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -99,8 +100,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml index 250df56891..53bebf60e4 100644 --- a/.github/workflows/Lucene-Net-Tests-ICU.yml +++ b/.github/workflows/Lucene-Net-Tests-ICU.yml @@ -80,6 +80,7 @@ jobs: framework: net461 env: project_path: './src/dotnet/Lucene.Net.Tests.ICU/Lucene.Net.Tests.ICU.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -112,8 +113,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml index 001098e21c..005c2b9fe8 100644 --- a/.github/workflows/Lucene-Net-Tests-Join.yml +++ b/.github/workflows/Lucene-Net-Tests-Join.yml @@ -66,6 +66,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Join/Lucene.Net.Tests.Join.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -98,8 +99,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml index 0a0eb6a0d6..6b62a7a0ad 100644 --- a/.github/workflows/Lucene-Net-Tests-Memory.yml +++ b/.github/workflows/Lucene-Net-Tests-Memory.yml @@ -68,6 +68,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Memory/Lucene.Net.Tests.Memory.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -100,8 +101,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml index 647045603a..e6517495d0 100644 --- a/.github/workflows/Lucene-Net-Tests-Misc.yml +++ b/.github/workflows/Lucene-Net-Tests-Misc.yml @@ -64,6 +64,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Misc/Lucene.Net.Tests.Misc.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -96,8 +97,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml index 745dd92903..64d7c5ab8f 100644 --- a/.github/workflows/Lucene-Net-Tests-Queries.yml +++ b/.github/workflows/Lucene-Net-Tests-Queries.yml @@ -64,6 +64,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Queries/Lucene.Net.Tests.Queries.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -96,8 +97,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml index 107f60c1bc..4d8183f7aa 100644 --- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml +++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml @@ -70,6 +70,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -102,8 +103,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml index 4036fa9e16..17d0afcfff 100644 --- a/.github/workflows/Lucene-Net-Tests-Replicator.yml +++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml @@ -69,6 +69,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -101,8 +102,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml index cafd848504..3b263216d4 100644 --- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml +++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Sandbox/Lucene.Net.Tests.Sandbox.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml index e5758eadea..78038f861e 100644 --- a/.github/workflows/Lucene-Net-Tests-Spatial.yml +++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml @@ -66,6 +66,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -98,8 +99,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml index 458254e1c7..8ddae3b748 100644 --- a/.github/workflows/Lucene-Net-Tests-Suggest.yml +++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml @@ -67,6 +67,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.Suggest/Lucene.Net.Tests.Suggest.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -99,8 +100,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml index b212c53646..d77b2efc88 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml @@ -63,6 +63,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.TestFramework.DependencyInjection/Lucene.Net.Tests.TestFramework.DependencyInjection.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -95,8 +96,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml index 83c8d4bca8..201a5c6314 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml @@ -65,6 +65,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests.TestFramework/Lucene.Net.Tests.TestFramework.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -97,8 +98,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml index daedad3c32..3e965d33ac 100644 --- a/.github/workflows/Lucene-Net-Tests-_A-D.yml +++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml @@ -74,6 +74,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests._A-D/Lucene.Net.Tests._A-D.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -106,8 +107,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml index 56949f2cf7..3f2babb4b4 100644 --- a/.github/workflows/Lucene-Net-Tests-_E-I.yml +++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml @@ -84,6 +84,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests._E-I/Lucene.Net.Tests._E-I.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -116,8 +117,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml index 4b4e9dea15..68828567d5 100644 --- a/.github/workflows/Lucene-Net-Tests-_I-J.yml +++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml @@ -89,6 +89,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests._I-J/Lucene.Net.Tests._I-J.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -121,8 +122,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml index 04a523858f..e7f50156a1 100644 --- a/.github/workflows/Lucene-Net-Tests-_J-S.yml +++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml @@ -76,6 +76,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests._J-S/Lucene.Net.Tests._J-S.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -108,8 +109,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml index 2763e696d3..6736591c4b 100644 --- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml +++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml @@ -71,6 +71,7 @@ jobs: framework: net461 env: project_path: './src/Lucene.Net.Tests._T-Z/Lucene.Net.Tests._T-Z.csproj' + run_slow_tests: 'false' trx_file_name: 'TestResults.trx' md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown @@ -103,8 +104,8 @@ jobs: # Title for LiquidTestReports.Markdown echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true - - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"false\"\) + - run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true + - run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\) shell: bash # upload reports as build artifacts - name: Upload a Build Artifact From 8d2576a0ca68c9a624d494df0a0bf035dd839a9c Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 22:56:34 +0700 Subject: [PATCH 8/9] .github/workflows/Generate-TestWorkflows.ps1: Updated help docs --- .github/workflows/Generate-TestWorkflows.ps1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index dc6984dfb4..308474d688 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -51,14 +51,13 @@ .PARAMETER Configurations A string array of build configurations to run the tests on. The default is @('Release'). + .PARAMETER DotNet6SDKVersion + The SDK version of .NET 6.x to install on the build agent to be used for building and + testing. This SDK is always installed on the build agent. The default is 6.0.100. + .PARAMETER DotNet5SDKVersion The SDK version of .NET 5.x to install on the build agent to be used for building and testing. This SDK is always installed on the build agent. The default is 5.0.400. - - .PARAMETER DotNetCore3SDKVersion - The SDK version of .NET Core 3.x to install on the build agent to be used for building and - testing. This SDK is only installed on the build agent when targeting .NET Core 3.x. - The default is 3.1.412. #> param( [string]$OutputDirectory = $PSScriptRoot, From 0ea2fa4c7f9653f29ff34f6d19825777a94379fe Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Tue, 1 Nov 2022 23:10:41 +0700 Subject: [PATCH 9/9] .github/workflows/Generate-TestWorkflows.ps1: Disable .NET SDK telemetry and logo --- .github/workflows/Generate-TestWorkflows.ps1 | 9 ++++++++- .github/workflows/Lucene-Net-Tests-AllProjects.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-Common.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml | 9 ++++++++- .../workflows/Lucene-Net-Tests-Analysis-Morfologik.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Benchmark.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Classification.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Cli.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-CodeAnalysis.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Codecs.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Demo.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Expressions.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Facet.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Grouping.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Highlighter.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-ICU.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Join.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Memory.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Misc.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Queries.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-QueryParser.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Replicator.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Sandbox.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Spatial.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-Suggest.yml | 9 ++++++++- ...ucene-Net-Tests-TestFramework-DependencyInjection.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-TestFramework.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-_A-D.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-_E-I.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-_I-J.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-_J-S.yml | 9 ++++++++- .github/workflows/Lucene-Net-Tests-_T-Z.yml | 9 ++++++++- 36 files changed, 288 insertions(+), 36 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index 308474d688..ab82874fe0 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -266,7 +266,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo `"DOTNET_NOLOGO=1`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append + echo `"DOTNET_CLI_TELEMETRY_OPTOUT=1`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml index 5cf1c1460e..158455174c 100644 --- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml +++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml @@ -91,7 +91,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml index 8e1c83d723..f0fcb1f1ce 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml @@ -75,7 +75,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml index c95e1950d4..c84450e6b6 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml @@ -72,7 +72,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml index d123bad4e2..726048b057 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml @@ -72,7 +72,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml index e1706b7449..6f4e8a77b4 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml @@ -75,7 +75,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml index edb2d9b4e7..e3b02f0d5d 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml @@ -69,7 +69,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml index 3fbc9d65bf..a7750551df 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml @@ -73,7 +73,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml index cdf67120f5..4d96106fee 100644 --- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml +++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml index 9ed8a771c5..8cf8447f4f 100644 --- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml +++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml @@ -82,7 +82,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml index 28f4570458..10e171f696 100644 --- a/.github/workflows/Lucene-Net-Tests-Classification.yml +++ b/.github/workflows/Lucene-Net-Tests-Classification.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml index 66ee8c4be1..8c2af0c5b6 100644 --- a/.github/workflows/Lucene-Net-Tests-Cli.yml +++ b/.github/workflows/Lucene-Net-Tests-Cli.yml @@ -90,7 +90,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml index 6442a1d544..259464bed5 100644 --- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml +++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml @@ -68,7 +68,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml index 01d9b94346..5ba1bc150e 100644 --- a/.github/workflows/Lucene-Net-Tests-Codecs.yml +++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml @@ -68,7 +68,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml index dd3a211a2e..72b7f409d7 100644 --- a/.github/workflows/Lucene-Net-Tests-Demo.yml +++ b/.github/workflows/Lucene-Net-Tests-Demo.yml @@ -77,7 +77,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml index 0991e80431..258222ad80 100644 --- a/.github/workflows/Lucene-Net-Tests-Expressions.yml +++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml index 21eec3f664..96aa2172e0 100644 --- a/.github/workflows/Lucene-Net-Tests-Facet.yml +++ b/.github/workflows/Lucene-Net-Tests-Facet.yml @@ -72,7 +72,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml index 87becd0829..e1d9fd647d 100644 --- a/.github/workflows/Lucene-Net-Tests-Grouping.yml +++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml index d197d49d43..83c847fd90 100644 --- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml +++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml @@ -72,7 +72,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml index 53bebf60e4..e8935c6678 100644 --- a/.github/workflows/Lucene-Net-Tests-ICU.yml +++ b/.github/workflows/Lucene-Net-Tests-ICU.yml @@ -85,7 +85,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml index 005c2b9fe8..99f549da23 100644 --- a/.github/workflows/Lucene-Net-Tests-Join.yml +++ b/.github/workflows/Lucene-Net-Tests-Join.yml @@ -71,7 +71,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml index 6b62a7a0ad..a0af7cd8a4 100644 --- a/.github/workflows/Lucene-Net-Tests-Memory.yml +++ b/.github/workflows/Lucene-Net-Tests-Memory.yml @@ -73,7 +73,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml index e6517495d0..d72c08d24c 100644 --- a/.github/workflows/Lucene-Net-Tests-Misc.yml +++ b/.github/workflows/Lucene-Net-Tests-Misc.yml @@ -69,7 +69,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml index 64d7c5ab8f..81033d4fd2 100644 --- a/.github/workflows/Lucene-Net-Tests-Queries.yml +++ b/.github/workflows/Lucene-Net-Tests-Queries.yml @@ -69,7 +69,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml index 4d8183f7aa..8f906e85e4 100644 --- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml +++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml @@ -75,7 +75,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml index 17d0afcfff..e30d33c3ff 100644 --- a/.github/workflows/Lucene-Net-Tests-Replicator.yml +++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml @@ -74,7 +74,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml index 3b263216d4..bbb06552b6 100644 --- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml +++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml index 78038f861e..8a23f30992 100644 --- a/.github/workflows/Lucene-Net-Tests-Spatial.yml +++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml @@ -71,7 +71,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml index 8ddae3b748..19de699257 100644 --- a/.github/workflows/Lucene-Net-Tests-Suggest.yml +++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml @@ -72,7 +72,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml index d77b2efc88..b8578d4e9d 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml @@ -68,7 +68,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml index 201a5c6314..2ca385f43a 100644 --- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml +++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml @@ -70,7 +70,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml index 3e965d33ac..bc14cd5c12 100644 --- a/.github/workflows/Lucene-Net-Tests-_A-D.yml +++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml @@ -79,7 +79,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml index 3f2babb4b4..f58e238d86 100644 --- a/.github/workflows/Lucene-Net-Tests-_E-I.yml +++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml @@ -89,7 +89,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml index 68828567d5..01110698e8 100644 --- a/.github/workflows/Lucene-Net-Tests-_I-J.yml +++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml @@ -94,7 +94,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml index e7f50156a1..2ea4904c3c 100644 --- a/.github/workflows/Lucene-Net-Tests-_J-S.yml +++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml @@ -81,7 +81,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1 diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml index 6736591c4b..b33b0058e3 100644 --- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml +++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml @@ -76,7 +76,14 @@ jobs: md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown steps: - - uses: actions/checkout@v2 + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Disable .NET SDK Telemetry and Logo + run: | + echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + shell: pwsh - name: Setup .NET 5 SDK uses: actions/setup-dotnet@v1