Skip to content

Commit

Permalink
test: test on lts and current
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jun 10, 2023
1 parent 63671d7 commit 78ea214
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [lts/*]
node: [lts/*, current]
fail-fast: true
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: [lts/*]
node: [lts/*, current]
fail-fast: true
steps:
- uses: actions/checkout@v3
Expand All @@ -121,7 +121,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: [lts/*]
node: [lts/*, current]
fail-fast: true
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions src/cmds/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ export default {
* @param {any} argv
*/
async handler (argv) {
// temporarily disable code coverage on node 18
if (argv.cov && process.version.startsWith('v18.')) {
console.warn(kleur.red('!!! Temporarily disabling code coverage - https://github.com/ipfs/aegir/issues/1206\n')) // eslint-disable-line no-console
delete argv.cov
}

await testCmd.run({
...argv,
bundle: false
Expand Down

0 comments on commit 78ea214

Please sign in to comment.