Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita23e8f5

Browse files
committed
update yaml
1 parentf673973 commita23e8f5

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed

‎coderoad.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config:
1515
## The command arg used to convert test runner output to TAP format. See https://testanything.org/ for more. Required.
1616
tap:-m tap.py
1717
## 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
18+
directory:coderoad-starter
1919
## Commits to load to setup the test runner. Optional.
2020
##
2121
setup:

‎tutorial.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"version":"0.1.0",
3+
"summary": {
4+
"title":"Insert Tutorial's Title here",
5+
"description":"Short description to be shown as a tutorial's subtitle"
6+
},
7+
"config": {
8+
"testRunner": {
9+
"command":"python",
10+
"args": {
11+
"tap":"-m tap.py"
12+
},
13+
"directory":"tests",
14+
"setup": {
15+
"commands": [
16+
"python3 -m venv tutorial-env",
17+
"source tutorial-env/bin/activate",
18+
"pip install requirements.txt"
19+
],
20+
"commits": [
21+
"124dc3ecb8b9d9e1a152ad6152aa1e143c62b175"
22+
]
23+
}
24+
},
25+
"appVersions": {
26+
"vscode":">=0.7.2"
27+
},
28+
"repo": {
29+
"uri":"https://github.com/beaucarnes/coderoad-python-test",
30+
"branch":"v0.1.0"
31+
},
32+
"dependencies": []
33+
},
34+
"levels": [
35+
{
36+
"id":"L1",
37+
"steps": [
38+
{
39+
"id":"L1S1",
40+
"setup": {
41+
"subtasks":false,
42+
"commits": [
43+
"cf32cb0f46c53fbfe04ecd436d163336ffe7d42c"
44+
]
45+
},
46+
"solution": {
47+
"commits": [
48+
"96d2ca15de2e4235e0b02033af0f1376d03f0ea2"
49+
]
50+
},
51+
"content":"Short description of the step's purpose. Should be short and fit in one line\n\n**Important**\n\n1. Both level and step ids must have an entry with the same id on the configuration file;\n2. Step Ids are based on its level id. Any step from level `L234` must start with `L234S`, followed by the sequential digits."
52+
}
53+
],
54+
"title":"Put Level's title here",
55+
"summary":"Level's summary: a short description of the level's content in one line.",
56+
"content":"The level is identified and distributed following the regex:\n\n```js\n/^(##\\s(?<levelId>L\\d+)\\s(?<levelTitle>.*)\\n*(>\\s*(?<levelSummary>.*))?\\n+(?<levelContent>[^]*))/;\n```\n\nThe Level can be split into steps or have no steps. Levels without steps are meant to be used as only informative content, for example: use a Level without steps at the end of the tutorial to congratulate the student and provide some additional related resources.\n\nTutorial's content. It can span through multiple paragraphs and use headers `####` and `#####`.\n\nSteps are identified and their content described using the following regex:\n\n```js\n/^(###\\s(?<stepId>(?<levelId>L\\d+)S\\d+)\\s(?<stepTitle>.*)\\n+(?<stepContent>[^]*))/;\n```\n\nThe numbers identifying the levels and steps are irrelevant but keep in mind that they will be executed in order. A level with id `10` will be executed before another one with id `20` and so on. These `ids` should have a match in the configuration file (`coderoad.yaml`)."
57+
}
58+
]
59+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp