testing?
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,9 +1,7 @@
|
||||
/packages/
|
||||
/bin/
|
||||
/obj/
|
||||
appsettings.Testing.json
|
||||
test/nuget.host.tests/bin/
|
||||
test/nuget.host.tests/obj
|
||||
appsettings.Development.json
|
||||
src/nuget-host/bin/
|
||||
src/nuget-host/obj/
|
||||
|
@ -22,13 +22,15 @@ build1:
|
||||
nonreg:
|
||||
stage: test
|
||||
script:
|
||||
- dotnet test
|
||||
- dotnet user-secrets set ConnectionStrings:DefaultConnection "$TESTDBCXSTRING" --project test/nuget.host.tests/
|
||||
- ASPNETCORE_ENVIRONMENT=Development dotnet test
|
||||
|
||||
test2:
|
||||
stage: test
|
||||
script:
|
||||
- echo "Do another parallel test here"
|
||||
- echo "For example run a lint test"
|
||||
-
|
||||
|
||||
publish:
|
||||
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