Skip to content

Commit

Permalink
Support CircleCI 2 path property on checkout step (#448)
Browse files Browse the repository at this point in the history
* Support CircleCI 2 path property on checkout step

* Added test for Circle CI 2.0 schema change
  • Loading branch information
eigilsagafos authored and madskristensen committed May 4, 2018
1 parent 36fd9f7 commit cfd131a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/schemas/json/circleciconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,23 @@
}
}
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"checkout": {
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"description": "Checkout directory",
"type": "string",
"default": false
}
}
}
}
},
{
"type": "object",
"additionalProperties": false,
Expand Down
6 changes: 5 additions & 1 deletion src/test/circleciconfig/chromeless.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@
{
"run": "node -v; npm -v"
},
"checkout",
{
"checkout": {
"path": "~/chromeless/test"
}
},
{
"setup_remote_docker": {
"version": "17.11.0-ce"
Expand Down

0 comments on commit cfd131a

Please sign in to comment.