2021-04-08 18:21:37 +00:00
|
|
|
name: 'Tests: pretest/posttest'
|
|
|
|
|
|
|
|
on: [pull_request, push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
pretest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: ljharb/actions/node/install@main
|
|
|
|
name: 'nvm install lts/* && npm install'
|
|
|
|
with:
|
|
|
|
node-version: 'lts/*'
|
2022-02-01 08:57:32 +00:00
|
|
|
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
|
|
|
|
- run: sudo chmod a+x /usr/bin/rooster
|
2021-04-08 18:21:37 +00:00
|
|
|
- run: make init
|
|
|
|
- run: 'cd test_files; make all; cd -'
|
|
|
|
- run: npm run pretest
|
|
|
|
|
|
|
|
# posttest:
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v2
|
|
|
|
# - uses: ljharb/actions/node/install@main
|
|
|
|
# name: 'nvm install lts/* && npm install'
|
|
|
|
# with:
|
|
|
|
# node-version: 'lts/*'
|
|
|
|
# - run: make init
|
|
|
|
# - run: 'cd test_files; make all; cd -'
|
|
|
|
# - run: npm run posttest
|