Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b7ba3d90
Commit
b7ba3d90
authored
Mar 13, 2019
by
Piotr Wosiek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the testing section more generic
parent
2ad6230a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lib/gitlab/ci/templates/dotNET-Core.yml
lib/gitlab/ci/templates/dotNET-Core.yml
+8
-6
No files found.
lib/gitlab/ci/templates/dotNET-Core.yml
View file @
b7ba3d90
...
@@ -49,7 +49,7 @@ build:
...
@@ -49,7 +49,7 @@ build:
script
:
script
:
-
'
dotnet
build'
-
'
dotnet
build'
unit
tests
:
tests
:
stage
:
test
stage
:
test
# Despite the fact that the project was already built and restored,
# Despite the fact that the project was already built and restored,
# a dependency restore must be performed again.
# a dependency restore must be performed again.
...
@@ -57,9 +57,11 @@ unit tests:
...
@@ -57,9 +57,11 @@ unit tests:
-
'
dotnet
restore'
-
'
dotnet
restore'
# Run the tests
# Run the tests
#
#
# You can either run tests only for specific project (like shown below)
# You can either run tests for all test projects that are defined in your solution
# or run tests for all test projects that are defined in a solution file
# with 'dotnet test' or run tests only for specific project by specifying
# with 'dotnet test'. You may want to define separate jobs for separate
# a relative path to the directory where it is located e.g. 'dotnet test ./test/UnitTests'.
# testing projects e.g. IntegrationTests, UnitTests etc.
#
# You may want to define separate testing jobs for different types of testing
# e.g. integration tests, unit tests etc.
script
:
script
:
-
'
dotnet
test
./test/UnitTests
'
-
'
dotnet
test'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment