Skip to content

Commit

Permalink
split nextjs tests by major versions (#4441)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored and juan-fernandez committed Jul 11, 2024
1 parent 5b0f361 commit 7c7c599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -942,9 +942,11 @@ jobs:
version:
- 18
- latest
range: ['>=9.5 <11.1', '>=11.1 <13.2', '>=13.2']
runs-on: ubuntu-latest
env:
PLUGINS: next
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/testagent/start
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_plugin_modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function assertVersions () {
}

async function assertInstrumentation (instrumentation, external) {
const versions = process.env.PACKAGE_VERSION_RANGE
const versions = process.env.PACKAGE_VERSION_RANGE && !external
? [process.env.PACKAGE_VERSION_RANGE]
: [].concat(instrumentation.versions || [])

Expand Down

0 comments on commit 7c7c599

Please sign in to comment.