You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
635 B
25 lines
635 B
image: mcr.microsoft.com/dotnet/core/sdk:3.0
|
|
|
|
before_script:
|
|
- dotnet restore
|
|
|
|
build:
|
|
stage: build
|
|
tags:
|
|
- docker
|
|
script:
|
|
- dotnet build -c Release --no-restore
|
|
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
artifacts:
|
|
paths:
|
|
- $CI_PROJECT_DIR/build/release
|
|
|
|
test:
|
|
stage: test
|
|
tags:
|
|
- docker
|
|
script:
|
|
- cd ./p08_BDD_EntityFramework/ex_041_004_UnitTests_w_InMemory
|
|
- dotnet test --no-restore
|
|
- cd ./p08_BDD_EntityFramework/ex_041_004_UnitTests_w_SQLiteInMemory
|
|
- dotnet test --no-restore |