Skip to content

Commit 1cf548d

Browse files
committed
Shorter CI loop
1 parent dd362a2 commit 1cf548d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Provider/tests.ps1

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,24 @@ function Tests-All() {
9898
}
9999

100100
function Tests-FirebirdClient-Default-C-R() {
101+
# nothing for 2.5
102+
if ($FirebirdSelection -eq 'FB25') {
103+
return
104+
}
101105
Tests-FirebirdClient 'Default' $True 'Required'
102106
}
103107
function Tests-FirebirdClient-Default-NC-R() {
108+
# nothing for 2.5
109+
if ($FirebirdSelection -eq 'FB25') {
110+
return
111+
}
104112
Tests-FirebirdClient 'Default' $False 'Required'
105113
}
106114
function Tests-FirebirdClient-Default-C-D() {
115+
# nothing for 2.5
116+
if ($FirebirdSelection -eq 'FB25') {
117+
return
118+
}
107119
Tests-FirebirdClient 'Default' $True 'Disabled'
108120
}
109121
function Tests-FirebirdClient-Default-NC-D() {
@@ -129,7 +141,6 @@ function Tests-EFCore() {
129141
if ($FirebirdSelection -eq 'FB25') {
130142
return
131143
}
132-
133144
cd "$baseDir\src\FirebirdSql.EntityFrameworkCore.Firebird.Tests\bin\$Configuration\$(Get-UsedTargetFramework)"
134145
.\FirebirdSql.EntityFrameworkCore.Firebird.Tests.exe --labels=All
135146
Check-ExitCode
@@ -139,7 +150,6 @@ function Tests-EFCore-Functional() {
139150
if ($FirebirdSelection -eq 'FB25') {
140151
return
141152
}
142-
143153
cd "$baseDir\src\FirebirdSql.EntityFrameworkCore.Firebird.FunctionalTests"
144154
dotnet test --no-build -c $Configuration
145155
Check-ExitCode

0 commit comments

Comments
 (0)