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- # #
1+ version : ' 0.1.0'
82config :
9- # # Test runner setup.
103 testRunner :
11- # # The command called to run the test runner. For example "npm run test", or a path to the test runner binary. Required.
124 command : python
13- # # Standard arguments used by a given test runner
145 args :
15- # # The command arg used to convert test runner output to TAP format. See https://testanything.org/ for more. Required.
166 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 : coderoad-starter
19- # # Commits to load to setup the test runner. Optional.
20- # #
217 setup :
22- # - commit1
23- # - commit2
24- # # A list of commands to run to configure the tutorial
258 commands :
269 - python3 -m venv tutorial-env
2710 - source tutorial-env/bin/activate
2811 - pip install requirements.txt
29- # - npm install
30- # # App versions helps to ensure compatability with the Extension
31- appVersions :
32- # # Ensure compatability with a minimal VSCode CodeRoad version
33- vscode : " >=0.7.2"
34- # # Repo information to load code from
35- # #
36- repo :
37- # # The uri path to the repo containing the code commits. Required.
38- # #
39- uri : " https://github.com/beaucarnes/coderoad-python-test"
40- # # The branch on the repo uri that contains the code commits. Required.
41- branch : " v0.1.0"
42-
43- # # A list of tutorial dependencies to ensure the environment is setup for the tutorial. Optional.
44- # # The dependencies will be checked by running `dependency.name` --version and comparing it to the version provided.
45- # #
46- dependencies :
47- []
48- # # The name of the dependency
49- # - name: node
50- # ## The version requirement. See https://github.com/npm/node-semver for options.
51- # version: '>=10'
52-
53- # # A level is made up of
12+ directory : coderoad-starter
13+ repo :
14+ uri : https://github.com/beaucarnes/coderoad-python-test
15+ branch : v0.1.0
16+ # dependencies:
17+ # - name: node
18+ # version: '>=10'
5419levels :
5520 - id : L1
5621 steps :
57- # # Example 1: Opening files
5822 - id : L1S1
59- # # Setup for the first task. Required.
6023 setup :
61- # # Solution for the first task. Required.
6224 subtasks : false
25+ # version: "0.1.0"
26+ # ## Data used to configure and setup the tutorial
27+ # ##
28+ # config:
29+ # ## Test runner setup.
30+ # testRunner:
31+ # ## The command called to run the test runner. For example "npm run test", or a path to the test runner binary. Required.
32+ # command: python
33+ # ## Standard arguments used by a given test runner
34+ # args:
35+ # ## The command arg used to convert test runner output to TAP format. See https://testanything.org/ for more. Required.
36+ # tap: -m tap.py
37+ # ## The directory where to run the test runner from. If not specified, tests will run from the root of the project. Optional.
38+ # directory: coderoad-starter
39+ # ## Commits to load to setup the test runner. Optional.
40+ # ##
41+ # setup:
42+ # # - commit1
43+ # # - commit2
44+ # ## A list of commands to run to configure the tutorial
45+ # commands:
46+ # - python3 -m venv tutorial-env
47+ # - source tutorial-env/bin/activate
48+ # - pip install requirements.txt
49+ # # - npm install
50+ # ## App versions helps to ensure compatability with the Extension
51+ # appVersions:
52+ # ## Ensure compatability with a minimal VSCode CodeRoad version
53+ # vscode: ">=0.7.2"
54+ # ## Repo information to load code from
55+ # ##
56+ # repo:
57+ # ## The uri path to the repo containing the code commits. Required.
58+ # ##
59+ # uri: "https://github.com/beaucarnes/coderoad-python-test"
60+ # ## The branch on the repo uri that contains the code commits. Required.
61+ # branch: "v0.1.0"
62+
63+ # ## A list of tutorial dependencies to ensure the environment is setup for the tutorial. Optional.
64+ # ## The dependencies will be checked by running `dependency.name` --version and comparing it to the version provided.
65+ # ##
66+ # dependencies:
67+ # []
68+ # ## The name of the dependency
69+ # # - name: node
70+ # # ## The version requirement. See https://github.com/npm/node-semver for options.
71+ # # version: '>=10'
72+
73+ # ## A level is made up of
74+ # levels:
75+ # - id: L1
76+ # steps:
77+ # ## Example 1: Opening files
78+ # - id: L1S1
79+ # ## Setup for the first task. Required.
80+ # setup:
81+ # ## Solution for the first task. Required.
82+ # subtasks: false
6383
6484
0 commit comments