diff --git a/.github/workflows/build-library.yml b/.github/workflows/build-library.yml
index 038ba88e..209be5ef 100644
--- a/.github/workflows/build-library.yml
+++ b/.github/workflows/build-library.yml
@@ -23,6 +23,7 @@ env:
permissions:
pull-requests: write
contents: read
+ checks: write
jobs:
build:
@@ -104,11 +105,11 @@ jobs:
path: ${{ github.workspace }}/**/TestResults/*.trx
retention-days: 7
- - name: Publish test results
- uses: EnricoMi/publish-unit-test-result-action@v2.16.1
- if: ${{ always() && github.event_name == 'pull_request' }}
- with:
- files: "${{ github.workspace }}/**/*.trx"
+ # - name: Publish test results
+ # uses: EnricoMi/publish-unit-test-result-action@v2.18.0
+ # if: ${{ always() && github.event_name == 'pull_request' }}
+ # with:
+ # files: "${{ github.workspace }}/**/*.trx"
- name: Combine coverage reports
uses: danielpalme/ReportGenerator-GitHub-Action@5.2.4
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 084acc41..a2937ba0 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,40 +3,37 @@
true
true
-
- 9.0.0
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
diff --git a/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/BaseEntityTableData.cs b/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/BaseEntityTableData.cs
index 159988cd..dbbd1ee0 100644
--- a/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/BaseEntityTableData.cs
+++ b/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/BaseEntityTableData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace CommunityToolkit.Datasync.Server.EntityFrameworkCore;
@@ -10,7 +9,6 @@ namespace CommunityToolkit.Datasync.Server.EntityFrameworkCore;
///
/// The base class for all the Entity Framework Core based table data classes.
///
-[Index(nameof(UpdatedAt), nameof(Deleted))]
public abstract class BaseEntityTableData : ITableData
{
///
diff --git a/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/EntityTableData.cs b/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/EntityTableData.cs
index 4ae46fb1..70c25349 100644
--- a/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/EntityTableData.cs
+++ b/src/CommunityToolkit.Datasync.Server.EntityFrameworkCore/EntityTableData.cs
@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -11,6 +12,7 @@ namespace CommunityToolkit.Datasync.Server.EntityFrameworkCore;
/// A version of the that is compatible with
/// most of the Entity Framework Core drivers.
///
+[Index(nameof(UpdatedAt), nameof(Deleted))]
public class EntityTableData : BaseEntityTableData
{
///
diff --git a/tests/CommunityToolkit.Datasync.TestCommon/Databases/CosmosDb/CosmosDbContext.cs b/tests/CommunityToolkit.Datasync.TestCommon/Databases/CosmosDb/CosmosDbContext.cs
index d69b8c18..e9cb42d3 100644
--- a/tests/CommunityToolkit.Datasync.TestCommon/Databases/CosmosDb/CosmosDbContext.cs
+++ b/tests/CommunityToolkit.Datasync.TestCommon/Databases/CosmosDb/CosmosDbContext.cs
@@ -5,6 +5,7 @@
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Microsoft.EntityFrameworkCore;
using Xunit.Abstractions;
+using Microsoft.EntityFrameworkCore.Diagnostics;
namespace CommunityToolkit.Datasync.TestCommon.Databases;
@@ -34,6 +35,11 @@ internal void InitializeDatabase()
SaveChanges();
}
+ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+ {
+ optionsBuilder.ConfigureWarnings(w => w.Ignore(CosmosEventId.SyncNotSupported));
+ }
+
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity(builder =>