14 lines
414 B
YAML
14 lines
414 B
YAML
stages: # List of stages for jobs, and their order of execution
|
|
- build
|
|
- test
|
|
|
|
build: # This job runs in the build stage, which runs first.
|
|
stage: build
|
|
script:
|
|
- dotnet restore
|
|
- dotnet build
|
|
|
|
unit-test: # This job runs in the test stage.
|
|
stage: test # It only starts when the job in the build stage completes successfully.
|
|
script:
|
|
- dotnet test --test-adapter-path:.
|