Skip to content

Commit c4f803c

Browse files
committed
create yaml
1 parent 72803c0 commit c4f803c

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

coderoad.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# A configuration file for a CodeRoad Tutorial
2+
# This is a YAML-formatted file.
3+
## Your personal version of the tutorial
4+
##
5+
version: "0.1.0"
6+
## Data used to configure and setup the tutorial
7+
##
8+
config:
9+
## Test runner setup.
10+
testRunner:
11+
## The command called to run the test runner. For example "npm run test", or a path to the test runner binary. Required.
12+
command: python
13+
## Standard arguments used by a given test runner
14+
args:
15+
## The command arg used to convert test runner output to TAP format. See https://testanything.org/ for more. Required.
16+
tap: -m tap.py
17+
## The directory where to run the test runner from. If not specified, tests will run from the root of the project. Optional.
18+
directory: tests
19+
## Commits to load to setup the test runner. Optional.
20+
##
21+
setup:
22+
# - commit1
23+
# - commit2
24+
## A list of commands to run to configure the tutorial
25+
commands:
26+
- "pip install requirements.txt"
27+
# - npm install
28+
## App versions helps to ensure compatability with the Extension
29+
appVersions:
30+
## Ensure compatability with a minimal VSCode CodeRoad version
31+
vscode: ">=0.7.2"
32+
## Repo information to load code from
33+
##
34+
repo:
35+
## The uri path to the repo containing the code commits. Required.
36+
##
37+
uri: "https://github.com/beaucarnes/coderoad-python-test"
38+
## The branch on the repo uri that contains the code commits. Required.
39+
branch: ""
40+
41+
## A list of tutorial dependencies to ensure the environment is setup for the tutorial. Optional.
42+
## The dependencies will be checked by running `dependency.name` --version and comparing it to the version provided.
43+
##
44+
dependencies:
45+
[]
46+
## The name of the dependency
47+
# - name: node
48+
# ## The version requirement. See https://github.com/npm/node-semver for options.
49+
# version: '>=10'
50+
51+
## A level is made up of
52+
levels:
53+
- id: L1
54+
steps:
55+
## Example 1: Opening files
56+
- id: L1S1
57+
## Setup for the first task. Required.
58+
setup:
59+
## Solution for the first task. Required.
60+
solution:
61+
62+

0 commit comments

Comments
 (0)