Skip to content

Commit c5eb7e6

Browse files
committed
testing
1 parent 99990ab commit c5eb7e6

File tree

4 files changed

+256
-0
lines changed

4 files changed

+256
-0
lines changed

.github/workflows/node-4+.yml

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: 'Tests: node.js'
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
matrix:
7+
runs-on: ubuntu-latest
8+
outputs:
9+
latest: ${{ steps.set-matrix.outputs.requireds }}
10+
steps:
11+
- uses: ljharb/actions/node/matrix@main
12+
id: set-matrix
13+
with:
14+
versionsAsRoot: true
15+
type: 'majors'
16+
preset: '>=4'
17+
18+
latest:
19+
needs: [matrix]
20+
name: 'latest majors'
21+
runs-on: ubuntu-latest
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
27+
include:
28+
- node-version: '14.'
29+
env:
30+
TZ: America/New_York
31+
- node-version: '13.'
32+
env:
33+
TZ: Europe/London
34+
- node-version: '12.'
35+
env:
36+
TZ: Asia/Seoul
37+
- node-version: '11.'
38+
env:
39+
TZ: America/Los_Angeles
40+
FMTS: misc
41+
- node-version: '10.'
42+
env:
43+
TZ: Europe/Berlin
44+
FMTS: misc
45+
- node-version: '9.'
46+
env:
47+
TZ: Asia/Kolkata
48+
FMTS: misc
49+
- node-version: '8.'
50+
env:
51+
TZ: Asia/Shanghai
52+
FMTS: misc
53+
- node-version: '7.'
54+
env:
55+
TZ: America/Cancun
56+
FMTS: misc
57+
- node-version: '6.'
58+
env:
59+
TZ: Asia/Seoul
60+
FMTS: misc
61+
- node-version: '5.'
62+
env:
63+
TZ: America/Anchorage
64+
FMTS: misc
65+
- node-version: '4.'
66+
env:
67+
TZ: America/Barbados
68+
FMTS: misc
69+
- node-version: '4.4.7' # see GH issue #1150
70+
env:
71+
TZ: Asia/Tokyo
72+
FMTS: misc
73+
74+
steps:
75+
- uses: actions/checkout@v2
76+
- uses: ljharb/actions/node/install@main
77+
name: 'nvm install ${{ matrix.node-version }} && npm install'
78+
with:
79+
node-version: ${{ matrix.node-version }}
80+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
81+
- run: sudo chmod a+x /usr/bin/rooster
82+
- run: make init
83+
- run: 'cd test_files; make all; cd -'
84+
- run: npm run test
85+
86+
node:
87+
name: 'node 4+'
88+
needs: [latest]
89+
runs-on: ubuntu-latest
90+
steps:
91+
- run: 'echo tests completed'

.github/workflows/node-iojs.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: 'Tests: node.js (io.js)'
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
matrix:
7+
runs-on: ubuntu-latest
8+
outputs:
9+
latest: ${{ steps.set-matrix.outputs.requireds }}
10+
steps:
11+
- uses: ljharb/actions/node/matrix@main
12+
id: set-matrix
13+
with:
14+
type: 'majors'
15+
preset: 'iojs'
16+
17+
latest:
18+
needs: [matrix]
19+
name: 'latest majors'
20+
runs-on: ubuntu-latest
21+
22+
strategy:
23+
fail-fast: false
24+
matrix: ${{ fromJson(needs.matrix.outputs.latest) }}
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: ljharb/actions/node/install@main
29+
name: 'nvm install ${{ matrix.node-version }} && npm install'
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
skip-ls-check: true
33+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
34+
- run: sudo chmod a+x /usr/bin/rooster
35+
- run: make init
36+
- run: 'cd test_files; make all; cd -'
37+
- run: npm run test
38+
#- run: 'cd packages/ssf; npm run tests-only; cd -'
39+
40+
node:
41+
name: 'io.js'
42+
needs: [latest]
43+
runs-on: ubuntu-latest
44+
steps:
45+
- run: 'echo tests completed'

.github/workflows/node-pretest.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Tests: pretest/posttest'
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
pretest:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: ljharb/actions/node/install@main
12+
name: 'nvm install lts/* && npm install'
13+
with:
14+
node-version: 'lts/*'
15+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
16+
- run: sudo chmod a+x /usr/bin/rooster
17+
- run: make init
18+
- run: 'cd test_files; make all; cd -'
19+
#- run: npm run pretest
20+
21+
# posttest:
22+
# runs-on: ubuntu-latest
23+
24+
# steps:
25+
# - uses: actions/checkout@v2
26+
# - uses: ljharb/actions/node/install@main
27+
# name: 'nvm install lts/* && npm install'
28+
# with:
29+
# node-version: 'lts/*'
30+
# - run: make init
31+
# - run: 'cd test_files; make all; cd -'
32+
# - run: npm run posttest

.github/workflows/node-zero.yml

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: 'Tests: node.js (0.x)'
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
matrix:
7+
runs-on: ubuntu-latest
8+
outputs:
9+
stable: ${{ steps.set-matrix.outputs.requireds }}
10+
# unstable: ${{ steps.set-matrix.outputs.optionals }}
11+
steps:
12+
- uses: ljharb/actions/node/matrix@main
13+
id: set-matrix
14+
with:
15+
versionsAsRoot: true
16+
preset: '0.x'
17+
18+
stable:
19+
needs: [matrix]
20+
name: 'stable minors'
21+
runs-on: ubuntu-latest
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
node-version: ${{ fromJson(needs.matrix.outputs.stable) }}
27+
include:
28+
- node-version: '0.12.'
29+
env:
30+
TZ: America/Cayman
31+
FMTS: misc
32+
- node-version: '0.10.'
33+
env:
34+
TZ: Pacific/Honolulu
35+
FMTS: misc
36+
- node-version: '0.8.'
37+
env:
38+
TZ: America/Mexico_City
39+
FMTS: misc
40+
41+
steps:
42+
- uses: actions/checkout@v2
43+
- uses: ljharb/actions/node/install@main
44+
name: 'nvm install ${{ matrix.node-version }} && npm install'
45+
with:
46+
node-version: ${{ matrix.node-version }}
47+
cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
48+
skip-ls-check: true
49+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
50+
- run: sudo chmod a+x /usr/bin/rooster
51+
- run: make init
52+
- run: 'cd test_files; make all; cd -'
53+
- run: npm run test
54+
#- run: 'cd packages/ssf; npm run tests-only; cd -'
55+
56+
# unstable:
57+
# needs: [matrix, stable]
58+
# name: 'unstable minors'
59+
# continue-on-error: true
60+
# if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
61+
# runs-on: ubuntu-latest
62+
63+
# strategy:
64+
# fail-fast: false
65+
# matrix:
66+
# node-version: ${{ fromJson(needs.matrix.outputs.unstable) }}
67+
#
68+
# steps:
69+
# - uses: actions/checkout@v2
70+
# - uses: ljharb/actions/node/install@main
71+
# name: 'nvm install ${{ matrix.node-version }} && npm install'
72+
# with:
73+
# node-version: ${{ matrix.node-version }}
74+
# cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
75+
# skip-ls-check: true
76+
# - run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
77+
# - run: sudo chmod a+x /usr/bin/rooster
78+
# - run: make init
79+
# - run: 'cd test_files; make all; cd -'
80+
# - run: npm run tests-only
81+
82+
node:
83+
name: 'node 0.x'
84+
# needs: [stable, unstable]
85+
needs: [stable]
86+
runs-on: ubuntu-latest
87+
steps:
88+
- run: 'echo tests completed'

0 commit comments

Comments
 (0)