2022-02-13 09:35:34 +00:00
|
|
|
name: 'Tests: deno 1.x'
|
|
|
|
|
|
|
|
on: [pull_request, push]
|
|
|
|
|
|
|
|
jobs:
|
2022-06-27 05:47:58 +00:00
|
|
|
# full test
|
|
|
|
full:
|
|
|
|
name: 'full (with codepage)'
|
2022-02-13 09:35:34 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: denoland/setup-deno@main
|
|
|
|
with:
|
|
|
|
deno-version: v1.x
|
|
|
|
- uses: ljharb/actions/node/install@main
|
|
|
|
with:
|
|
|
|
node-version: '16.'
|
|
|
|
- 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
|
|
|
|
- run: make init
|
|
|
|
- run: 'cd test_files; make all; cd -'
|
2022-06-06 23:05:27 +00:00
|
|
|
- run: deno test --allow-env --allow-read --allow-write --config misc/test.deno.jsonc test.ts
|
2022-06-27 05:47:58 +00:00
|
|
|
# full test (no codepage)
|
|
|
|
fullnocp:
|
|
|
|
name: 'full (no codepage)'
|
2022-02-13 09:35:34 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: denoland/setup-deno@main
|
|
|
|
with:
|
|
|
|
deno-version: v1.x
|
|
|
|
- uses: ljharb/actions/node/install@main
|
|
|
|
with:
|
|
|
|
node-version: '16.'
|
|
|
|
- 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
|
|
|
|
- run: make init
|
|
|
|
- run: 'cd test_files; make all; cd -'
|
2022-06-27 05:47:58 +00:00
|
|
|
- run: deno test --allow-env --allow-read --allow-write --config misc/test.deno.jsonc testnocp.ts
|