Skip to content

Commit

Permalink
Test against all supported versions of mocha
Browse files Browse the repository at this point in the history
There are reports (#148) of mocha-junit-reporter not working against
certain versions of mocha. We really need to test more than one version
of mocha to ensure that doesn't happen.
  • Loading branch information
gabegorelick authored and clayreimann committed Oct 14, 2021
1 parent fc3a735 commit e062836
Show file tree
Hide file tree
Showing 4 changed files with 5,798 additions and 1,646 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,23 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
include:
- mocha-version: 2
node-version: 10.x
- mocha-version: 3
node-version: 10.x
- mocha-version: 4
node-version: 10.x
- mocha-version: 5
node-version: 10.x
- mocha-version: 6
node-version: 10.x
- mocha-version: 7
node-version: 12.x
- mocha-version: 8
node-version: 14.x
- mocha-version: 9
node-version: 14.x

steps:
- uses: actions/checkout@v1
Expand All @@ -22,3 +38,4 @@ jobs:
run: npm run ci
env:
CI: true
MOCHA_VERSION: ${{ matrix.mocha-version }}
Loading

0 comments on commit e062836

Please sign in to comment.