This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 4d2e609946b5ee136d0b1f77b0b793cf4ef1991f Author: Shad Storhaug <[email protected]> AuthorDate: Sat Nov 21 16:35:35 2020 +0700 .github/workflows/Generate-TestWorkflows.ps1: Added special case for CodeAnalysis tests --- .github/workflows/Generate-TestWorkflows.ps1 | 7 ++++++- .github/workflows/Lucene-Net-Tests-CodeAnalysis.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index 14cb928..11fb041 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -1,4 +1,4 @@ -# ----------------------------------------------------------------------------------- +# ----------------------------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -297,6 +297,11 @@ foreach ($testProject in $TestProjects) { $projectName = [System.IO.Path]::GetFileNameWithoutExtension($testProject) [string[]]$frameworks = $TestFrameworks + # Special case - CodeAnalysis only supports .NET Core 2.1 for testing + if ($projectName.Contains("Tests.CodeAnalysis")) { + $frameworks = @('netcoreapp2.1') + } + # Special case - our CLI tool only supports .NET Core 3.1 if ($projectName.Contains("Tests.Cli")) { $frameworks = @('netcoreapp3.1') diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml index a7fd8e1..24dfd59 100644 --- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml +++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml @@ -49,7 +49,7 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-latest] - framework: [net5.0, netcoreapp2.1, net48] + framework: [netcoreapp2.1] platform: [x64] configuration: [Release] exclude:
