Skip to content

Commit

Permalink
verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Aug 6, 2023
1 parent 8f74929 commit 8256994
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
# node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [14.x, 16.x, 18.x]
adapter: [Fake, Redis, Redis-Cluster, AMQP, NATS, Kafka, Multi]
fail-fast: false
steps:
Expand Down Expand Up @@ -81,6 +82,7 @@ jobs:
working-directory: ./test

- name: Sleeping 30 secs
if: ${{ matrix.adapter != 'Fake' }}
run: sleep 30

- name: Check containers
Expand All @@ -93,7 +95,7 @@ jobs:

- name: Run tests
run: npm test
timeout-minutes: 15
timeout-minutes: 5
env:
GITHUB_ACTIONS_CI: true
ADAPTER: ${{ matrix.adapter }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"check": "tsc --noEmit true",
"types": "tsc --emitDeclarationOnly true --noEmitOnError false",
"ci": "jest --watch",
"test": "jest --coverage",
"test": "jest --coverage --verbose",
"lint": "eslint --ext=.js src examples test",
"bench": "node benchmark/index.js",
"bench:watch": "nodemon benchmark/index.js",
Expand Down
14 changes: 7 additions & 7 deletions test/integration/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ if (process.env.GITHUB_ACTIONS_CI) {
} else {
// Local development tests
Adapters = [
{ type: "Fake", options: {} },
{ type: "Redis", options: {} }
/*{
/*{ type: "Fake", options: {} },
{ type: "Redis", options: {} },
{
type: "Redis",
name: "Redis-Cluster",
options: {
Expand All @@ -51,11 +51,11 @@ if (process.env.GITHUB_ACTIONS_CI) {
}
}
}
},
{ type: "AMQP", options: {} },
{ type: "NATS", options: {} },
},*/
{ type: "AMQP", options: {} }
/*{ type: "NATS", options: {} },
{ type: "Kafka", options: { kafka: { brokers: ["localhost:9093"] } } }
*/
*/
];
}

Expand Down

0 comments on commit 8256994

Please sign in to comment.