Skip to content

Commit f2962a5

Browse files
authored
Create config.yml
1 parent d5dc90f commit f2962a5

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.circleci/config.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/2.0/configuration-reference
3+
version: 2.1
4+
5+
jobs:
6+
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
7+
build-and-test:
8+
# These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/
9+
# You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10+
# Be sure to update the tag on this image to a more stable version, using latest can result in unstable builds.
11+
docker:
12+
- image: microsoft/dotnet:latest
13+
steps:
14+
# Checkout the code as the first step.
15+
- checkout
16+
# Then simply use the dotnet container as you'd expect and run your tests
17+
- run:
18+
# Update this line with the directory that contains your tests project file
19+
working_directory: ~/DesignPatternTests/DesignPatternTests
20+
name: Run tests
21+
command: |
22+
dotnet test
23+
24+
25+
workflows:
26+
# Below is the definition of your workflow.
27+
# Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above.
28+
# CircleCI will run this workflow on every commit.
29+
# For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows
30+
sample:
31+
jobs:
32+
- build-and-test

0 commit comments

Comments
 (0)