File tree Expand file tree Collapse file tree
ljswitchboard-builder/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Unit Tests
2+
3+ on :
4+ pull_request :
5+ branches : [ master ]
6+
7+ jobs :
8+ build :
9+
10+ strategy :
11+ matrix :
12+ node-version : [8.9.4]
13+ platform : [ubuntu-16.04]
14+
15+ runs-on : ${{ matrix.platform }}
16+
17+ steps :
18+ - name : Download ljm
19+ uses : wei/wget@v1
20+ with :
21+ args : -O labjack_ljm_software.tar.gz https://labjack.com/sites/default/files/software/labjack_ljm_software_2019_07_16_x86_64.tar.gz
22+ - name : Install ljm
23+ run : tar xfz labjack_ljm_software.tar.gz && cd ./labjack_ljm_software_2019_07_16_x86_64 && sudo ./labjack_ljm_installer.run
24+ - uses : actions/checkout@v2
25+ - name : Use Node.js ${{ matrix.node-version }}
26+ uses : actions/setup-node@v1
27+ with :
28+ node-version : ${{ matrix.node-version }}
29+ # - run: npm ci # doesn't work with node8
30+ - run : npm install --global node-gyp@latest
31+ - run : npm install
32+ - run : npm run setup
33+ - name : Fix lerna mess
34+ run : node ./scripts/fix_lerna_backup.js
Original file line number Diff line number Diff line change 11
2- var ZIPPING_TEST = true ;
2+ var ZIPPING_TEST = false ; // TODO somehow test prior to building
33
44if ( ZIPPING_TEST ) {
55 var zipping_test = require ( './zipping_test' ) ;
66 exports . zipping_test = zipping_test . tests ;
7- }
7+ }
You can’t perform that action at this time.
0 commit comments