Treat post_interrupted NNTP error as connection-fatal, since it likel… #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |