Skip to content

Commit 87e0109

Browse files
author
BalammaBoya
authored
Merge pull request #4 from virtual-labs/testing
Converted pre test and post test questions from .js format to .json format and updated .yml file
2 parents cbbd4ef + 43bcb2d commit 87e0109

File tree

5 files changed

+100
-308
lines changed

5 files changed

+100
-308
lines changed

.github/workflows/deployment-script.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
# The following job will pull phase3 lab management scipt and build the experiment
15+
- name: Setup node
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '12'
19+
check-latest: true
1620
- run: |
17-
git clone -b pipeline https://github.com/virtual-labs/ph3-lab-mgmt
18-
cd ph3-lab-mgmt/ph3-beta-to-ui3.0-conv
19-
make host-experiments
20-
cd ../../
21+
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
22+
cd ph3-lab-mgmt
23+
npm install
24+
npm run build-exp
25+
cd ../
2126
git config --local user.email "admin@vlabs.ac.in"
2227
git config --local user.name "vleadadmin"
2328
git checkout --orphan gh-pages

experiment/posttest.js

Lines changed: 0 additions & 151 deletions
This file was deleted.

experiment/posttest.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[{
2+
"question": "The brass plate and mould is placed in the water bath and it is kept at the specified temperature for about __ minutes",
3+
"answers": {
4+
"a": "5 to 7",
5+
"b": "10 to 12",
6+
"c": "20 to 25",
7+
"d": "85 to 95"
8+
},
9+
"correctAnswer": "d"
10+
}, {
11+
"question": "Water Bath Temperature should be maintained at",
12+
"answers": {
13+
"a": "25 ± 0.1°C",
14+
"b": "27 ± 0.1°C",
15+
"c": "33 ± 0.1°C",
16+
"d": "39 ± 0.1°C"
17+
},
18+
"correctAnswer": "b"
19+
}, {
20+
"question": "The Indian Standard for ductility test on bitumen is",
21+
"answers": {
22+
"a": "IS 1208-1978",
23+
"b": "IS:1208-1985",
24+
"c": "IS:1238-1978",
25+
"d": "IS:1238-1985"
26+
},
27+
"correctAnswer": "d"
28+
}, {
29+
"question": "CBR valueA minimum ductility value of __ has been specified by the BIS",
30+
"answers": {
31+
"a": "72.5 cm",
32+
"b": "75.0 cm",
33+
"c": "82.0cm",
34+
"d": "85.0cm"
35+
},
36+
"correctAnswer": "b"
37+
}, {
38+
"question": "Bitumen should be adequately ductile to resist the cracking of pavement due to temperature stresses. (Say True or False)",
39+
"answers": {
40+
"a": "True",
41+
"b": "False"
42+
},
43+
"correctAnswer": "a"
44+
}]

experiment/pretest.js

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)