Skip to content

Commit 72eadc4

Browse files
committed
removed conflicts
2 parents 4bb5735 + 51285e5 commit 72eadc4

File tree

12 files changed

+129
-385
lines changed

12 files changed

+129
-385
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: '16'
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/images/img1.PNG

4.19 KB
Loading

experiment/images/img2.PNG

4.33 KB
Loading

experiment/images/img3.PNG

3.9 KB
Loading

experiment/images/img4.PNG

4.81 KB
Loading

experiment/images/img5.PNG

5.49 KB
Loading

experiment/posttest.js

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

experiment/posttest.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[{
2+
"question": "1.Which of the following functions will not result in an error when no arguments are passed to it?",
3+
"answers": {
4+
"a": "any()",
5+
"b": "float()",
6+
"c": "max()",
7+
"d": "divmod()"
8+
},
9+
"correctAnswer": "b"
10+
}, {
11+
"question": "2.What will be the output of the following code?\nfor i in ''.join(reversed(list('virtual'))):\n\tprint(i)",
12+
"answers": {
13+
"a": "v i r t u a l",
14+
"b": "Error",
15+
"c": "l a u t r i v",
16+
"d": "None of these"
17+
},
18+
"correctAnswer": "c"
19+
},
20+
{
21+
"question": "3.What is the output of the following?\nfor i in [a, b, c, d][::-1]:\n\tprint (i)",
22+
"answers": {
23+
"a": "a b c d",
24+
"b": "Error",
25+
"c": "None",
26+
"d": "d c b a"
27+
},
28+
"correctAnswer": "d"
29+
}]

0 commit comments

Comments
 (0)