Before we start, you will need to fork this Github project. This will allow you to run a couple of CircleCI builds because everyone gets a free 25 hour trial.
Checkout your fork and take a look at the CircleCI configuration file location at ./circleci/config.yml
. The initial configuration consists of three jobs:
checkout
: Checks out the sourcecode from Githubscala
: Run the Scala unit testsdeploy
: Deploys the application
Furthermore, the workflows
section specifies that these three jobs need to be executed one after the other.
Push a minor change to the master
branch in your forked repository. Now, CircleCI will run your workflow, let's take a look at the CircleCI UI:
- Go to:
https://circleci.com/dashboard
- Login using your Github account
- Select
Projects
menu item on the left in the main menu
- Select the
circleci
repository in theLinux
tab
- Click on the
Start building
button.
- Select the
Workflows
menu item on the left in the main menu - Select the
master
branch in the list of branches and wait for the list of workflows the appear on the right (this part of the UI is sometimes a bit slow)
- Select the workflow on the top of the list. Now you will see a the status of your last workflow:
Click on one of the jobs to see the output of the individual steps.