Skip to content

More build fixes

More build fixes #2

Workflow file for this run

name: Run PAR2 Create Tests
on:
workflow_dispatch:
push:
jobs:
test-node:
strategy:
fail-fast: false
matrix:
include:
- version: '0.10.40'
flags: ''
python2: true
- version: '4.9.1'
flags: ''
python2: true
- version: '12.22.12'
flags: '--trace-warnings'
python2: false
- version: '20.5.1'
flags: '--pending-deprecation --throw-deprecation --trace-warnings'
python2: false
name: Test on Node v${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: MatteoH2O1999/setup-python@v1
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-gyp rebuild
- run: node ${{ matrix.flags }} test/par-compare.js -f