Skip to content

Commit

Permalink
Merge pull request #370 from bitfinexcom/staging
Browse files Browse the repository at this point in the history
Release version to master
  • Loading branch information
prdn authored May 8, 2024
2 parents 7c5813e + f765afe commit 72a97ed
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
linux-test-runner:
name: Linux Test Runner
timeout-minutes: 30
timeout-minutes: 90
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -30,7 +30,14 @@ jobs:
- name: Install deps
run: npm i
- name: Run tests
run: npm test -- --reporter=json --reporter-option output=test-report.json
uses: nick-fields/retry@v3
continue-on-error: false
with:
timeout_minutes: 20
retry_wait_seconds: 10
max_attempts: 3
retry_on: any
command: npm test -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report",
"version": "4.10.2",
"version": "4.10.3",
"description": "Reporting tool",
"main": "worker.js",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/1-api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('API', () => {
})

after(async function () {
this.timeout(5000)
this.timeout(20000)

try {
await mockRESTv2Srv.close()
Expand Down
4 changes: 2 additions & 2 deletions test/2-api-filter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const auth = {

describe('API filter', () => {
before(async function () {
this.timeout(5000)
this.timeout(20000)

mockRESTv2Srv = createMockRESTv2SrvWithDate(start, end, 10)

Expand All @@ -58,7 +58,7 @@ describe('API filter', () => {
})

after(async function () {
this.timeout(5000)
this.timeout(20000)

await stopEnvironment()
await rmDB(dbDirPath)
Expand Down
2 changes: 1 addition & 1 deletion test/3-report-signature.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('Signature', () => {
})

after(async function () {
this.timeout(5000)
this.timeout(20000)

await stopEnvironment()
await rmDB(dbDirPath)
Expand Down

0 comments on commit 72a97ed

Please sign in to comment.