testing?
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,9 +1,7 @@
|
|||||||
/packages/
|
/packages/
|
||||||
/bin/
|
/bin/
|
||||||
/obj/
|
/obj/
|
||||||
appsettings.Testing.json
|
|
||||||
test/nuget.host.tests/bin/
|
test/nuget.host.tests/bin/
|
||||||
test/nuget.host.tests/obj
|
test/nuget.host.tests/obj
|
||||||
appsettings.Development.json
|
|
||||||
src/nuget-host/bin/
|
src/nuget-host/bin/
|
||||||
src/nuget-host/obj/
|
src/nuget-host/obj/
|
||||||
|
@ -22,13 +22,15 @@ build1:
|
|||||||
nonreg:
|
nonreg:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- dotnet test
|
- dotnet user-secrets set ConnectionStrings:DefaultConnection "$TESTDBCXSTRING" --project test/nuget.host.tests/
|
||||||
|
- ASPNETCORE_ENVIRONMENT=Development dotnet test
|
||||||
|
|
||||||
test2:
|
test2:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- echo "Do another parallel test here"
|
- echo "Do another parallel test here"
|
||||||
- echo "For example run a lint test"
|
- echo "For example run a lint test"
|
||||||
|
-
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
12
test/nuget.host.tests/appsettings.Development.json
Normal file
12
test/nuget.host.tests/appsettings.Development.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Nuget": {
|
||||||
|
"PackagesRootDir" : "packages",
|
||||||
|
"MaxUserKeyCount": 5
|
||||||
|
},
|
||||||
|
"Smtp": {
|
||||||
|
"Server": "localhost",
|
||||||
|
"Port": 25,
|
||||||
|
"SenderName": "Paul Schneider",
|
||||||
|
"SenderEmail": "paul@pschneider.fr"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user