Skip to content

Commit 720923f

Browse files
Try to install sqlite spatial.
1 parent 22b44a0 commit 720923f

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/dotnet-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,27 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
1920
- name: Setup .NET 8.0
2021
uses: actions/setup-dotnet@v4
2122
with:
2223
dotnet-version: 8.0.x
24+
2325
- name: Setup .NET 9.0
2426
uses: actions/setup-dotnet@v4
2527
with:
2628
dotnet-version: 9.0.x
29+
30+
- name: Install SQLite and SpatiaLite
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y sqlite3 libsqlite3-mod-spatialite
34+
2735
- name: Restore dependencies
2836
run: dotnet restore
37+
2938
- name: Build
3039
run: dotnet build --no-restore
40+
3141
- name: Test
3242
run: dotnet test --no-build --verbosity normal

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
with:
3636
dotnet-version: 9.0.x
3737

38+
- name: Install SQLite and SpatiaLite
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y sqlite3 libsqlite3-mod-spatialite
42+
3843
- name: Restore dependencies
3944
run: dotnet restore
4045

tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/DbContainer/TestDbContainerSqlite.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected override void Configure(DbContextOptionsBuilder optionsBuilder)
2323
optionsBuilder
2424
.UseSqlite(GetConnectionString(), o =>
2525
{
26-
// o.UseNetTopologySuite();
26+
o.UseNetTopologySuite();
2727
})
2828
.UseBulkInsertSqlite();
2929
}

0 commit comments

Comments
 (0)