From 6312080a48afea6750718a9f8c4e15c1aa2f3073 Mon Sep 17 00:00:00 2001 From: Modest-as Date: Sat, 19 Sep 2020 15:58:35 +0300 Subject: [PATCH] fixing cicd errors 01 --- .github/workflows/master_build.yml | 1 + .github/workflows/pull_request_tests.yml | 1 + Lucene.Net.Sql.MySql/Lucene.Net.Sql.MySql.csproj | 8 ++++++++ .../Lucene.Net.Sql.Performance.csproj | 1 + Lucene.Net.Sql.Performance/LuceneBenchmarkBase.cs | 3 +-- Lucene.Net.Sql.Tests/Lucene.Net.Sql.Tests.csproj | 1 + 6 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master_build.yml b/.github/workflows/master_build.yml index 2afc7e1..caa7ca7 100644 --- a/.github/workflows/master_build.yml +++ b/.github/workflows/master_build.yml @@ -15,6 +15,7 @@ jobs: image: mysql:5.7 env: MYSQL_ROOT_PASSWORD: password + MYSQL_DATABASE: lucene ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s diff --git a/.github/workflows/pull_request_tests.yml b/.github/workflows/pull_request_tests.yml index edccc2d..f796f46 100644 --- a/.github/workflows/pull_request_tests.yml +++ b/.github/workflows/pull_request_tests.yml @@ -12,6 +12,7 @@ jobs: image: mysql:5.7 env: MYSQL_ROOT_PASSWORD: password + MYSQL_DATABASE: lucene ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s diff --git a/Lucene.Net.Sql.MySql/Lucene.Net.Sql.MySql.csproj b/Lucene.Net.Sql.MySql/Lucene.Net.Sql.MySql.csproj index e6ec48e..a995107 100644 --- a/Lucene.Net.Sql.MySql/Lucene.Net.Sql.MySql.csproj +++ b/Lucene.Net.Sql.MySql/Lucene.Net.Sql.MySql.csproj @@ -24,6 +24,8 @@ 8.0 enable + + $(TargetsForTfmSpecificBuildOutput);IncludeReferenceAssets @@ -43,4 +45,10 @@ + + + + + + \ No newline at end of file diff --git a/Lucene.Net.Sql.Performance/Lucene.Net.Sql.Performance.csproj b/Lucene.Net.Sql.Performance/Lucene.Net.Sql.Performance.csproj index 212542b..e7da0ec 100644 --- a/Lucene.Net.Sql.Performance/Lucene.Net.Sql.Performance.csproj +++ b/Lucene.Net.Sql.Performance/Lucene.Net.Sql.Performance.csproj @@ -13,6 +13,7 @@ + diff --git a/Lucene.Net.Sql.Performance/LuceneBenchmarkBase.cs b/Lucene.Net.Sql.Performance/LuceneBenchmarkBase.cs index 8ac0f93..6daa4c5 100644 --- a/Lucene.Net.Sql.Performance/LuceneBenchmarkBase.cs +++ b/Lucene.Net.Sql.Performance/LuceneBenchmarkBase.cs @@ -1,5 +1,4 @@ -using System; -using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Attributes; using Lucene.Net.Analysis; using Lucene.Net.Analysis.Standard; using Lucene.Net.Index; diff --git a/Lucene.Net.Sql.Tests/Lucene.Net.Sql.Tests.csproj b/Lucene.Net.Sql.Tests/Lucene.Net.Sql.Tests.csproj index 9accd5a..1eb9ffb 100644 --- a/Lucene.Net.Sql.Tests/Lucene.Net.Sql.Tests.csproj +++ b/Lucene.Net.Sql.Tests/Lucene.Net.Sql.Tests.csproj @@ -23,6 +23,7 @@ +