Skip to content

Commit

Permalink
Merge pull request #6 from virtual-labs/testing
Browse files Browse the repository at this point in the history
Quiz is changed to json from js
  • Loading branch information
BalammaBoya authored Apr 1, 2021
2 parents 234c8f1 + e950f0c commit 42e1ace
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 399 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deployment-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# The following job will pull phase3 lab management scipt and build the experiment
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true
- run: |
git clone -b pipeline https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt/ph3-beta-to-ui3.0-conv
make host-experiments
cd ../../
git clone https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt
npm install
node exp.js
cd ../
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
git checkout --orphan gh-pages
Expand Down
197 changes: 0 additions & 197 deletions experiment/posttest.js

This file was deleted.

1 change: 1 addition & 0 deletions experiment/posttest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"question":"A component which will compare the process parameter based on multiple sensors installed and pass Highest amongst all, to the regulatory device","answers":{"a":"High Selector","b":"Low Selector","c":"Rate Limiter","d":"None of these"},"correctAnswer":"a"},{"question":"A component which will compare the process parameter based on multiple sensors installed and pass Lowest amongst all, to the regulatory device","answers":{"a":"Low Selector","b":"High Selector","c":"Rate Limiter","d":"None of these"},"correctAnswer":"a"},{"question":"Number of inputs to high selector are","answers":{"a":"Two or many","b":"One","c":"Either a or b","d":"Both a and b"},"correctAnswer":"a"},{"question":"Power supply used is","answers":{"a":"5 VDC","b":"10 VDC","c":"24 VDC","d":"12 VDC"},"correctAnswer":"c"},{"question":"Limiter will have the inputs","answers":{"a":"One","b":"Two","c":"Three","d":"Four"},"correctAnswer":"b"}]
Loading

0 comments on commit 42e1ace

Please sign in to comment.