Skip to content

Add port number fallback #1

Add port number fallback

Add port number fallback #1

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
push:
jobs:
test-node:
strategy:
fail-fast: false
matrix:
include:
- version: '0.10.40'
flags: ''
mocha: '3.5.3'
python2: true
- version: '4.9.1'
flags: ''
mocha: '5.2.0'
python2: true
- version: '8.17.0'
flags: '--trace-warnings'
mocha: '7.2.0'
python2: true
- version: '12.22.12'
flags: '--trace-warnings'
mocha: '9.2.2'
python2: false
- version: '20.5.0'
flags: '--pending-deprecation --throw-deprecation --trace-warnings'
mocha: '10.2.0'
python2: false
name: Test on Node v${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: MatteoH2O1999/setup-python@v3
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 && npm install mocha@${{ matrix.mocha }})
- run: node ${{ matrix.flags }} node_modules/mocha/bin/_mocha