-
Notifications
You must be signed in to change notification settings - Fork 21
37 lines (36 loc) · 1006 Bytes
/
test-full.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run PAR2 Create Tests
on:
workflow_dispatch:
# push:
jobs:
test-node:
strategy:
fail-fast: false
matrix:
include:
- version: '0.10.48'
flags: ''
python2: true
- version: '4.9.1'
flags: ''
python2: true
- version: '12.22.12'
flags: '--trace-warnings'
python2: false
- version: '20.8.1'
flags: '--pending-deprecation --throw-deprecation --trace-warnings --openssl-legacy-provider'
python2: false
name: Test on Node v${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: MatteoH2O1999/setup-python@v2
with:
python-version: '2.7'
if: ${{ matrix.python2 }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- run: npm install --production
- run: node ${{ matrix.flags }} par-compare.js -f
working-directory: test