There is a plethora of options and controls that you can configure within CircleCI. There are only a few settings we'll need to control from within the CircleCI web interface. Everything else will be controlled via a config.yml configuration file, which we will add to the repository.
Our first step is putting together a .circleci/config.yml file. The .circleci/ directory lives in the root of our repository. The following code block shows the configuration to run unit tests in for our REST API, which is located in the ch2/ directory of the repository:
version: 2 jobs: build: docker: - image: verypossible/serverless:1.25.0-python3 - image: postgres environment: - ENV: circleci steps: - checkout - restore_cache: