mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
+21
-21
@@ -51,27 +51,27 @@ jobs:
|
||||
packages:
|
||||
- libc6-i386
|
||||
- libstdc++6:i386
|
||||
- env:
|
||||
- DoxGeneration=false
|
||||
- DockerBuild=false
|
||||
- DMAPI=false
|
||||
- CONFIG=Release
|
||||
- TGS4_TEST_DATABASE_TYPE=PostgresSql
|
||||
- TGS4_TEST_CONNECTION_STRING="Application Name=tgstation-server;Host=127.0.0.1;Username=postgres;Password=;Database=TGS_Test"
|
||||
name: "PostgresSql Integration Test"
|
||||
language: csharp
|
||||
mono: none
|
||||
dotnet: 3.1
|
||||
services:
|
||||
- postgresql
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.nuget/packages:
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libc6-i386
|
||||
- libstdc++6:i386
|
||||
# - env:
|
||||
# - DoxGeneration=false
|
||||
# - DockerBuild=false
|
||||
# - DMAPI=false
|
||||
# - CONFIG=Release
|
||||
# - TGS4_TEST_DATABASE_TYPE=PostgresSql
|
||||
# - TGS4_TEST_CONNECTION_STRING="Application Name=tgstation-server;Host=127.0.0.1;Username=postgres;Password=;Database=TGS_Test"
|
||||
# name: "PostgresSql Integration Test"
|
||||
# language: csharp
|
||||
# mono: none
|
||||
# dotnet: 3.1
|
||||
# services:
|
||||
# - postgresql
|
||||
# cache:
|
||||
# directories:
|
||||
# - $HOME/.nuget/packages:
|
||||
# addons:
|
||||
# apt:
|
||||
# packages:
|
||||
# - libc6-i386
|
||||
# - libstdc++6:i386
|
||||
- env:
|
||||
- DoxGeneration=false
|
||||
- DockerBuild=false
|
||||
|
||||
@@ -37,6 +37,9 @@ namespace Tgstation.Server.Host.Database
|
||||
/// <inheritdoc />
|
||||
protected override void ValidateDatabaseType()
|
||||
{
|
||||
if (!Debugger.IsAttached)
|
||||
throw new NotImplementedException("PostgresSQL implementation is not complete yet!");
|
||||
|
||||
if (DatabaseType != DatabaseType.PostgresSql)
|
||||
throw new InvalidOperationException("Invalid DatabaseType for SqliteDatabaseContext!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user