Skip to content

Commit

Permalink
split aws-sdk and http tests by node version (#4467)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored and juan-fernandez committed Jul 10, 2024
1 parent e99a510 commit 9b3f55b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ jobs:
- uses: codecov/codecov-action@v3

aws-sdk:
strategy:
matrix:
node-version: ['18', 'latest']
runs-on: ubuntu-latest
services:
localstack:
Expand Down Expand Up @@ -255,9 +258,9 @@ jobs:
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: ./.github/actions/node/oldest
- run: yarn test:plugins:ci
- uses: ./.github/actions/node/latest
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn test:plugins:ci
- if: always()
uses: ./.github/actions/testagent/logs
Expand Down Expand Up @@ -619,6 +622,9 @@ jobs:
- uses: codecov/codecov-action@v3

http:
strategy:
matrix:
node-version: ['16', '18', '20', 'latest']
runs-on: ubuntu-latest
env:
PLUGINS: http
Expand All @@ -627,13 +633,9 @@ jobs:
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: ./.github/actions/node/16
- run: yarn test:plugins:ci
- uses: ./.github/actions/node/18
- run: yarn test:plugins:ci
- uses: ./.github/actions/node/20
- run: yarn test:plugins:ci
- uses: ./.github/actions/node/latest
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn test:plugins:ci
- if: always()
uses: ./.github/actions/testagent/logs
Expand Down

0 comments on commit 9b3f55b

Please sign in to comment.