From 00f798c6b9d8254a25cd96335c391c6ed69fcad5 Mon Sep 17 00:00:00 2001 From: madidiot2021gmail <86946137+madidiot2021gmail@users.noreply.github.com> Date: Mon, 5 Jul 2021 22:11:32 +1000 Subject: [PATCH 1/3] Add .circleci/config.yml --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..eb872e32 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +jobs: + # Below is the definition of your job to build and test your app, you can rename and customize it as you want. + build-and-test: + # These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/ + # You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # Be sure to update the tag on this image to a more stable version, using latest can result in unstable builds. + docker: + - image: microsoft/dotnet:latest + steps: + # Checkout the code as the first step. + - checkout + # Then simply use the dotnet container as you'd expect and run your tests + - run: + # Update this line with the directory that contains your tests project file + working_directory: ~/project/App.Tests + name: Run tests + command: | + dotnet test + + +workflows: + # Below is the definition of your workflow. + # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. + # CircleCI will run this workflow on every commit. + # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows + sample: + jobs: + - build-and-test From 6a764a3302c0ad80808841fd8dbe344595ba6037 Mon Sep 17 00:00:00 2001 From: madidiot2021gmail <86946137+madidiot2021gmail@users.noreply.github.com> Date: Mon, 5 Jul 2021 22:16:40 +1000 Subject: [PATCH 2/3] Add .circleci/config.yml --- .circleci/config.yml | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eb872e32..6f98693a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,32 +1,13 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference +# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 - -jobs: - # Below is the definition of your job to build and test your app, you can rename and customize it as you want. - build-and-test: - # These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/ - # You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # Be sure to update the tag on this image to a more stable version, using latest can result in unstable builds. - docker: - - image: microsoft/dotnet:latest - steps: - # Checkout the code as the first step. - - checkout - # Then simply use the dotnet container as you'd expect and run your tests - - run: - # Update this line with the directory that contains your tests project file - working_directory: ~/project/App.Tests - name: Run tests - command: | - dotnet test - - +# Use a package of configuration called an orb. +orbs: + # Declare a dependency on the welcome-orb + welcome: circleci/welcome-orb@0.4.1 +# Orchestrate or schedule a set of jobs workflows: - # Below is the definition of your workflow. - # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. - # CircleCI will run this workflow on every commit. - # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows - sample: + # Name the workflow "welcome" + welcome: + # Run the welcome/run job in its own container jobs: - - build-and-test + - welcome/run From d4dc968c10e10126c8466fa3a5af52f791087af7 Mon Sep 17 00:00:00 2001 From: madidiot2021gmail <86946137+madidiot2021gmail@users.noreply.github.com> Date: Mon, 5 Jul 2021 22:28:43 +1000 Subject: [PATCH 3/3] Add .circleci/config.yml --- .circleci/config.yml | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f98693a..eb872e32 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,32 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 -# Use a package of configuration called an orb. -orbs: - # Declare a dependency on the welcome-orb - welcome: circleci/welcome-orb@0.4.1 -# Orchestrate or schedule a set of jobs + +jobs: + # Below is the definition of your job to build and test your app, you can rename and customize it as you want. + build-and-test: + # These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/ + # You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # Be sure to update the tag on this image to a more stable version, using latest can result in unstable builds. + docker: + - image: microsoft/dotnet:latest + steps: + # Checkout the code as the first step. + - checkout + # Then simply use the dotnet container as you'd expect and run your tests + - run: + # Update this line with the directory that contains your tests project file + working_directory: ~/project/App.Tests + name: Run tests + command: | + dotnet test + + workflows: - # Name the workflow "welcome" - welcome: - # Run the welcome/run job in its own container + # Below is the definition of your workflow. + # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. + # CircleCI will run this workflow on every commit. + # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows + sample: jobs: - - welcome/run + - build-and-test