Advertisement
Monsterjp

Untitled

Dec 13th, 2021
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  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. # Define a job to be invoked later in a workflow.
  6. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs
  7. jobs:
  8. # Below is the definition of your job to build and test your app, you can rename and customize it as you want.
  9. build-and-test:
  10. # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
  11. # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
  12. # Be sure to update the tag on this image to a more stable version, using latest can result in unstable builds.
  13. docker:
  14. - image: microsoft/dotnet:latest
  15. # Add steps to the job
  16. # See: https://circleci.com/docs/2.0/configuration-reference/#steps
  17. steps:
  18. # Checkout the code as the first step.
  19. - checkout
  20. # Then simply use the dotnet container as you'd expect and run your tests
  21. - run:
  22. # Update this line with the directory that contains your tests project file
  23. working_directory: ~/project/App.Tests
  24. name: Run tests
  25. command: |
  26. dotnet test
  27. # Invoke jobs via workflows
  28. # See: https://circleci.com/docs/2.0/configuration-reference/#workflows
  29. workflows:
  30. sample: # This is the name of the workflow, feel free to change it to better match your workflow.
  31. # Inside the workflow, you define the jobs you want to run.
  32. jobs:
  33. - build-and-test
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement