Skip to content

Commit

Permalink
Try tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed May 7, 2024
1 parent b80a813 commit 3def739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- run: corepack enable

- uses: actions/setup-node@v4.0.1
Expand Down
7 changes: 2 additions & 5 deletions packages/nodes-base/benchmark.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ class BenchmarkEnvironment extends NodeEnvironment {

async teardown() {
console.log('[benchmarking] env teardown');
try {
await this.benchmark();
} catch (e) {
console.log('[benchmarking] Caught error at teardown', e);
}

await this.benchmark();

await super.teardown();
}
Expand Down

0 comments on commit 3def739

Please sign in to comment.