-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test v2 * update ci * fix * fix * magic * fix * fix * fix * try using default path * polish * explicit file path * debug * fix * update * polish * polish * add codecov config * fix * fix * test with v3 * Revert "test with v3" This reverts commit 079cc47. * try c8 * test * fix * switch back to nyc * wrap in api namespace * clean up
- Loading branch information
1 parent
d89ede5
commit 0a51269
Showing
16 changed files
with
1,474 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extension": [".ts"], | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["**/*.test.ts"], | ||
"reporter": ["html", "text", "lcov"], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"require": ["ts-node/register"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 0% | ||
base: auto | ||
patch: | ||
default: | ||
target: auto | ||
threshold: 0% | ||
base: auto | ||
|
||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: false | ||
require_base: false | ||
require_head: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
HEALTH_CHECK_URL="http://localhost:3111/health" | ||
MAX_ATTEMPTS=60 | ||
INTERVAL=1 | ||
|
||
attempt=0 | ||
while [ $attempt -lt $MAX_ATTEMPTS ]; do | ||
response=$(curl -s -o /dev/null -w "%{http_code}" $HEALTH_CHECK_URL) | ||
if [ $response -eq 200 ]; then | ||
echo "🚀 relayer ready in $attempt seconds" | ||
exit 0 | ||
fi | ||
|
||
echo "waiting for relayer starting up... ($attempt\s)" | ||
|
||
sleep $INTERVAL | ||
attempt=$((attempt+1)) | ||
done | ||
|
||
echo "❌ relayer failed to start in $MAX_ATTEMPTS seconds" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.