Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
71c2355
fix: syntax error
Dec 4, 2018
531c17d
chore: build typescript on CircleCI
Dec 4, 2018
37bec9c
chore(core-error-tracker-bugsnag): migrate to typescript
Dec 5, 2018
8452232
chore(core-error-tracker-sentry): migrate to typescript
Dec 5, 2018
3fd2f85
chore(core-event-emitter): migrate to typescript
Dec 5, 2018
8924134
chore(core-logger-winston): migrate to typescript
Dec 5, 2018
bb0529b
chore(core-logger): migrate to typescript
Dec 5, 2018
9c61b4a
chore: add untracked files
Dec 5, 2018
e647b2a
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
be8ad5e
test(core-event-emitter): update failing test
Dec 5, 2018
990be2e
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
ee72489
chore(core-utils): migrate to typescript
Dec 5, 2018
4d59b75
fix: references and package exposure
Dec 5, 2018
1d72146
chore: lint src and tests
Dec 5, 2018
8336c25
fix: app container reference
Dec 5, 2018
6f8411c
chore(core-http-utils): migrate to typescript
Dec 5, 2018
30cfc33
chore: add dist folder to package files
Dec 5, 2018
261ad2b
fix: export directly, not as default
Dec 5, 2018
a3a795b
fix: export directly, not as default
Dec 5, 2018
a716044
chore(core-forger): migrate to typescript
Dec 5, 2018
72fa1b3
chore(core-debugger-cli): migrate to typescript
Dec 5, 2018
d43d9b2
chore(core-container): migrate to typescript
Dec 5, 2018
2613480
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
480a24b
chore(core-vote-report): migrate to typescript
Dec 5, 2018
871639d
fix: resolve app from container
Dec 5, 2018
973e3c7
fix: resolve app from container
Dec 5, 2018
dbd0f8d
fix: resolve app from container
Dec 5, 2018
662c753
fix: resolve app from container
Dec 5, 2018
04a27ff
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
c6bb38e
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
ea8d5f6
Merge branch 'develop' into ts-config
faustbrian Dec 5, 2018
36c02a1
fix: use the app object to resolve plugins
Dec 5, 2018
6230a03
chore(core-json-rpc): migrate to typescript
Dec 5, 2018
f528d1b
chore: add tslint to dev dependencies
Dec 5, 2018
c186724
fix(core-container): app export
spkjp Dec 5, 2018
0eef898
chore(core-database): migrate to typescript
spkjp Dec 5, 2018
799d129
chore(core-database-postgres): migrate to typescript
spkjp Dec 5, 2018
708a9f9
fix(core-database): test
spkjp Dec 5, 2018
1775d7d
fix: copy migration files
spkjp Dec 6, 2018
cb55f52
fix(core-database): exports
spkjp Dec 6, 2018
f9747f3
chore(core-transaction-pool): migrate to typescript
spkjp Dec 6, 2018
309e2ab
chore(transaction-pool-mem): remove
spkjp Dec 6, 2018
3515607
chore(core-json-rpc): temp fix
spkjp Dec 6, 2018
079e0c8
test: adjust failing assertions
Dec 6, 2018
f49a4c9
fix(core-database-postgres): null the default query parameters
Dec 6, 2018
ed14446
chore(core-webhooks): migrate to typescript
Dec 6, 2018
5d573d4
test(core-webhooks): setup database connection
Dec 6, 2018
9e13168
chore(core): migrate to typescript
Dec 6, 2018
24a3fa5
chore(core-elasticsearch): migrate to typescript
Dec 6, 2018
c324465
fix(core-elasticsearch): missing or wrong imports
Dec 6, 2018
52ccea3
chore(core-deployer): migrate to typescript
Dec 6, 2018
880d989
chore: update root jest config
Dec 6, 2018
5d074c4
test(core-config): adjust assertions
Dec 6, 2018
c4cd216
chore(core-tester-cli): migrate to typescript
Dec 6, 2018
6812f7a
test(core-http-utils): adjust the container mock
Dec 6, 2018
6dfb946
test(core-utils): adjust the container mock
Dec 6, 2018
1544f42
fix(core-container): adjust configuration location
Dec 6, 2018
272cf48
fix(core-webhooks): migrations need to be run async
Dec 6, 2018
916e1cb
chore: merge develop
Dec 6, 2018
7ebc7fa
Merge branch 'develop' into ts-config
Dec 6, 2018
4a8c2b6
Merge remote-tracking branch 'origin/develop' into ts-config
spkjp Dec 6, 2018
d3d7b81
refactor: remove ts-ignore again
spkjp Dec 6, 2018
6a22d64
chore: fixme comments
spkjp Dec 6, 2018
031aefe
chore(core-blockchain): migrate to typescript
spkjp Dec 6, 2018
612818f
chore(core-blockchain): migrate tests and fixes
spkjp Dec 6, 2018
257887e
chore(core-p2p): migrate to typescript
spkjp Dec 6, 2018
10c7916
chore(core): lint
spkjp Dec 6, 2018
fe78cfe
chore(core-graphql): migrate to typescript
spkjp Dec 7, 2018
935cb0d
chore(core): lint
spkjp Dec 7, 2018
05e8e74
chore(core-graphql): migrate tests to typescript
spkjp Dec 7, 2018
a3fa047
fix: export db migrations
spkjp Dec 7, 2018
80e33f0
chore(core-snapshots): migrate to typescript
spkjp Dec 7, 2018
4818fab
fix(core-json-rpc): wrong import
spkjp Dec 7, 2018
ce37809
chore(core-snapshots): migrate tests to typescript
spkjp Dec 7, 2018
cb05ab7
chore(core-snapshots-cli): migrate to typescript
spkjp Dec 7, 2018
ec01a89
Merge branch 'develop' into ts-config
faustbrian Dec 7, 2018
fa345a2
chore: add missing scripts and files
Dec 7, 2018
e1e2a6d
chore(core-api): migrate to typescript
Dec 7, 2018
197690b
test(core-api): fix imports
Dec 7, 2018
6c32e5e
chore: use local typescript compiler
Dec 7, 2018
0c68b46
chore: add compile script
Dec 7, 2018
88ae17b
chore: remove eslint and setup prettier for typescript
Dec 7, 2018
3bcf33d
chore: use local tslint instead of global
Dec 7, 2018
821a088
fix: resolvePlugin issue and imports
Dec 7, 2018
f0b67c8
fix(core-api): register server methods
Dec 7, 2018
0d1d4b4
chore(core): execute the dist files via node
Dec 7, 2018
36e01ae
fix(core-api): get cache timeout from correct file
Dec 7, 2018
48f821d
chore(core-test-utils): migration to typescript
Dec 7, 2018
4af0ba1
test(core-api): adjust core-test-utils usage
Dec 7, 2018
c5f56d9
fix(core-test-utils): bad imports and method names
Dec 7, 2018
b1b263b
test(core-test-utils): fix bad method calls
Dec 7, 2018
e974e67
chore(core-api): do not bail tests on failure
Dec 7, 2018
b27025f
test(core-webhooks): adjust core-test-utils usage
Dec 7, 2018
04d0f3d
refactor: rename some methods and exports for clarity
Dec 7, 2018
adb167b
fix(core-test-utils): export all helpers
Dec 7, 2018
ca994b8
chore: add setup command
Dec 7, 2018
19ba93b
fix: use require to get version
spkjp Dec 7, 2018
377b557
fix(core-test-utils): expose jest matchers
spkjp Dec 7, 2018
c9fdbab
fix(core-test-utils): wrong config path
spkjp Dec 7, 2018
03f60ca
fix(core-test-utils): change export to import
spkjp Dec 7, 2018
b5f8f87
fix(core-blockchain): make green
spkjp Dec 7, 2018
c1e1b5a
refactor: naming
spkjp Dec 7, 2018
a0b4211
fix(core-p2p): tests
spkjp Dec 7, 2018
6d980f3
refactor: move logger and config out of class
spkjp Dec 7, 2018
58cc785
refactor: misc
spkjp Dec 8, 2018
bd0c672
chore(crypto): migrate to typescript
spkjp Dec 8, 2018
75b2b1e
Merge remote-tracking branch 'origin/develop' into ts-config
spkjp Dec 8, 2018
7654ea6
fix: bad imports, type hints and method calls
Dec 8, 2018
b7270bd
test(crypto): fix some of the failing tests
Dec 8, 2018
83aa812
fix: bad imports and references
Dec 8, 2018
5a59298
chore: run format instead of only lint for staged files
Dec 8, 2018
2ef9ea0
test(crypto): go green
Dec 8, 2018
c7e92a4
fix: invalid imports and destructs
Dec 8, 2018
aa76434
test: fix imports, references and mocks
Dec 8, 2018
7a68945
test(core-blockchain): fix fixture import
Dec 8, 2018
ecfe145
test(core-p2p): fix generator imports
Dec 8, 2018
78e77c0
style: update prettier config and apply it
Dec 8, 2018
1fa5ffe
fix(crypto): import handlers and call them by type
Dec 8, 2018
50e051c
test: fix imports and references
Dec 8, 2018
9988f06
fix(core-tester-cli): execute dist files with node
Dec 8, 2018
1363afd
fix(core-api): create valid sub-resource cache keys
Dec 8, 2018
640845b
test(core): initial command tests
Dec 8, 2018
db0707c
test(core-vote-report): initial vote report tests
Dec 8, 2018
937fe9c
misc: move files and styles
Dec 8, 2018
bed0be4
fix(core-elasticsearch): export server start method
Dec 8, 2018
64c8849
fix(core-vote-report): use index as rank if rate is not available
Dec 8, 2018
4c18970
refactor(core-vote-report): remove delegate retrieval duplication
Dec 8, 2018
017b318
test(core-vote-report): drop snapshot assertion for more rel…
Dec 8, 2018
2333bc2
chore: run lint and then prettier on staged files
Dec 8, 2018
ca784b7
refactor(core-api): drop transaction payload plugin in favor of joi v…
Dec 8, 2018
999a123
test(core-api): vendor field hex search
Dec 8, 2018
098b41a
refactor(core-api): lower blocks index timeout (#1676)
dated Dec 8, 2018
83a8dfa
test: remove no longer function assertion tests
Dec 8, 2018
38008d3
test(core): set timeout and force exit tests
Dec 8, 2018
31ae2d6
fix: references, imports and bad method calls
Dec 8, 2018
f6d654a
test(core-transaction-pool): fix imports
Dec 8, 2018
9d825ff
chore(tslint): add no-default-export rule to improve clarity
Dec 8, 2018
b41439c
refactor(crypto): dont use export default
spkjp Dec 9, 2018
2fcadca
refactor(crypto): update tests
spkjp Dec 9, 2018
b47c2f2
fix: adapt to new exports
spkjp Dec 9, 2018
188ac63
refactor: replace all default exports with named exports
Dec 9, 2018
c73a42a
fix: wrong imports and references
Dec 9, 2018
11f0093
fix: wrong imports and references
Dec 9, 2018
545ff00
test(core-p2p): add cold wallet transaction post test
Dec 9, 2018
9fc4b6e
test(core-api): use peer from collection response for resource test
Dec 9, 2018
0afb308
test(crypto): add block model constructor tests
Dec 9, 2018
83c4315
test(core-forger): exit setup once the database is ready
Dec 9, 2018
b928c2d
test(core-forger): fix the expectations of block forging
Dec 9, 2018
b10b751
test(core-forger): exit after core-p2p is registered to access its port
Dec 9, 2018
25ab2fb
fix(core-container): only resolve options from registered plugins
Dec 9, 2018
810ecc2
fix(core-p2p): replace resolveOptions with internal resolution
Dec 9, 2018
795a6ff
fix: various configuration loading issues
Dec 9, 2018
ebb4450
test(core-transaction-pool): resolve setup issues
Dec 9, 2018
774f4e1
test(core-json-rpc): fix setup
Dec 9, 2018
435f6ec
test(core-transaction-pool): re-enable guard test
Dec 9, 2018
56a678c
test(core-transaction-pool): re-enable connection test
Dec 9, 2018
3168cce
test(core-tester-cli): re-enable command test
Dec 9, 2018
026409a
test(core-database): re-enable connection interface test
Dec 9, 2018
697526a
fix(core-p2p): properly load port from config
Dec 9, 2018
6e34c52
fix(core-p2p): ensure slots are integers
Dec 9, 2018
22f76cb
chore(core-blockchain): add missing test
spkjp Dec 9, 2018
c511630
refactor: remove export default
spkjp Dec 9, 2018
1820cee
chore(core-database): destructure import
spkjp Dec 9, 2018
ed9c360
refactor(core-database): remove throws exception interface tests
spkjp Dec 10, 2018
ab52a49
fix(core-database): plugin resolves to null
spkjp Dec 10, 2018
196c378
fix(core-transaction-pool): go green
spkjp Dec 10, 2018
03c7846
style: use 4 spaces per microsofts typescript styleguide
Dec 10, 2018
c87909b
chore: bump versions and update changelogs
Dec 10, 2018
e573a8c
chore: setup linting for src and tests
Dec 10, 2018
22d6fa0
refactor(core-logger-winston): implement AbstractLogger
Dec 10, 2018
1b450a1
refactor(core-logger): replace interface with AbstractLogger
Dec 10, 2018
c91394d
test(crypto): allow empty blocks
Dec 10, 2018
2a5593e
fix(core-logger): expect an AbstractLogger instance to be returned
Dec 10, 2018
7a75733
refactor(core-forger): parse the port from the host URL
Dec 10, 2018
b98997e
chore: remove .yarnrc and use local lerna
Dec 10, 2018
c8e80b6
chore: install and build packages in docker containers
Dec 10, 2018
528d85e
chore: lodash tree shaking
Dec 10, 2018
f93ab83
style: prettier markdown formatting
Dec 10, 2018
252efff
fix(crypto): correct sumBy import
Dec 10, 2018
73556ae
fix(core-api): correct lodash import
Dec 10, 2018
d65eecf
merge develop
Dec 10, 2018
7c76bff
chore: use bootstrap command on circleci
Dec 10, 2018
37cfe8e
chore: use setup command on circleci
Dec 10, 2018
78741f3
chore: use cpy-cli
spkjp Dec 10, 2018
564bbee
fix(core-snapshots): pass default options and fix cli invocation
spkjp Dec 10, 2018
feda731
fix(core-blockchain): reset last downloaded block (#1692)
spkjp Dec 10, 2018
557ebb8
refactor(crypto): extend Bignumber type
spkjp Dec 11, 2018
cdb9cae
fix(core-forger): wrong import of otplib
spkjp Dec 11, 2018
1705475
chore: install and then bootstrap on CircleCI
Dec 11, 2018
cf8a1b3
test: adjust failing tests after bignum changes
Dec 11, 2018
0e9a5b7
fix(core-tester-cli): return range result as BigNumber object
Dec 11, 2018
02f7e4a
chore: add yarn install to the setup command
Dec 11, 2018
b571fb0
chore: update hapi-rate-limit to version 3.0.0
Dec 11, 2018
1fa19b6
Merge branch 'develop' into ts-config
faustbrian Dec 11, 2018
dc582fe
refactor: move peers.json configuration values to core-p2p
Dec 11, 2018
9576cde
chore: remove old defaults from config
Dec 11, 2018
c4b4145
test(core-api): expect the vendor field to match the vendor field hex
Dec 11, 2018
226f270
chore: add @types packages for lodash
Dec 11, 2018
d078e11
chore: add @types and resolve resulting issues
Dec 11, 2018
895f5c2
chore(core-container): remove extraneous lodash @types
Dec 11, 2018
317fd35
fix: resolve various build issues
Dec 11, 2018
51253bb
chore(crypto): adjust webpack to use typescript
Dec 11, 2018
c4a5f80
fix(core-json-rpc): @types issues for unsafe method
Dec 11, 2018
56b3025
chore: remove extraneous @types
Dec 11, 2018
f105cea
refactor(core-error-tracker-bugsnag): migrate to @bugsnag/js v5
Dec 11, 2018
204ef5b
test(crypto): add a few @ts-ignore for buffer calls
Dec 11, 2018
b262c9d
chore(crypto): expose dist as main
Dec 11, 2018
4b74b40
chore(crypto): expose dist as main
Dec 11, 2018
4b61722
chore(crypto): remove main entry point from webpack config
Dec 11, 2018
f628cef
test(crypto): add delegate model constructor tests
Dec 11, 2018
cc3b81f
test(core-forger): fix testnet import path
Dec 11, 2018
0cae362
test(crypto): add delegate passphrase encryption and decryption tests
Dec 11, 2018
9997ce9
refactor(core-p2p): add height to the last block of a delegate
Dec 11, 2018
51a1542
fix(core-p2p): use the remote access whitelist to grant remote access
Dec 11, 2018
a8b5839
chore: update yarn.lock
Dec 11, 2018
44b0da9
refactor: replace request-ip with the address that hapi provides us
Dec 11, 2018
9c24948
Merge remote-tracking branch 'origin/develop' into ts-config
spkjp Dec 12, 2018
8ba731c
fix(core-p2p): tests
spkjp Dec 12, 2018
8a04261
test(core-api): skip peer tests
Dec 12, 2018
f4ef06a
test: use 1.* peers instead of 0.*
Dec 12, 2018
32e9dc8
chore: update changelogs
Dec 12, 2018
f4619a8
chore: add a pre-test script to avoid issues with old databases
Dec 12, 2018
dad431c
feat(core): add launch mode
Dec 12, 2018
3c50a00
style: resolve tslint issues
Dec 12, 2018
c146337
chore(package): update pino to version 5.10.1 (#1703)
faustbrian Dec 12, 2018
186c37f
fix(core-api): racy test
spkjp Dec 12, 2018
e2a34c5
fix: some relative paths
spkjp Dec 13, 2018
f64e742
chore: prettyMs @types package
spkjp Dec 13, 2018
7f3aa04
chore: adjust config and coverage paths
Dec 13, 2018
5df8c84
test(core-api): re-enable peer tests
Dec 13, 2018
21bfcee
test: remove some no longer needed tests due to TypeScript
Dec 13, 2018
a20730c
test: remove some no longer needed tests due to TypeScript
Dec 13, 2018
1df36a5
test(core-container): plugin resolution tests
Dec 13, 2018
fb3f07f
test(core-api): reset peers before peer tests
Dec 13, 2018
9117772
chore: add a jest preset to streamline the test configuration
Dec 13, 2018
dc814cc
chore: store jest preset as JSON
Dec 13, 2018
5b4def4
chore: update package list
Dec 13, 2018
d337f65
chore: update contributors
Dec 13, 2018
23bcbe2
chore: replace shields.io with badgen.now.sh
Dec 13, 2018
92eaca8
test(core-transaction-pool): flush the pool before instead of after e…
Dec 13, 2018
8100b7d
test(core-api): ensure delegate ranks are calculated
Dec 13, 2018
41bb52f
chore: ignore default.ts files on codecov
Dec 13, 2018
cc6e6b0
chore(crypto): add jest preset
faustbrian Dec 13, 2018
977adbf
chore: run packages one-by-one on CircleCI
Dec 13, 2018
38bbf2b
chore: force exit tests to avoid hanging
Dec 13, 2018
c4a5a02
chore: remove no longer needed test:force-exit command
Dec 13, 2018
aae7d88
chore: setup node 11 for CircleCI
Dec 13, 2018
c2d27c2
chore: run crypto heavy tests in their own job on CircleCI
Dec 13, 2018
3dbbf53
test(core-api): adjust some assertions
Dec 13, 2018
38e820f
fix(core-p2p): suspended until message
spkjp Dec 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
556 changes: 518 additions & 38 deletions .circleci/config.yml

Large diffs are not rendered by default.

247 changes: 163 additions & 84 deletions .circleci/configTemplate.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,169 @@
{
"version": 2,
"jobs": {
"test-node10-0": {
"working_directory": "~/ark-core",
"docker": [
{
"image": "circleci/node:10-browsers"
"version": 2,
"jobs": {
"test-node10-0": {
"working_directory": "~/ark-core",
"docker": [
{
"image": "circleci/node:10-browsers"
},
{
"image": "postgres:alpine",
"environment": {
"POSTGRES_PASSWORD": "password",
"POSTGRES_DB": "ark_development",
"POSTGRES_USER": "ark"
}
}
],
"steps": [
"checkout",
{
"run": {
"name": "Apt update",
"command": "sudo sh -c 'echo \"deb http://ftp.debian.org/debian stable main contrib non-free\" >> /etc/apt/sources.list' && sudo apt-get update"
}
},
{
"run": {
"name": "Install xsel",
"command": "sudo apt-get install -q xsel"
}
},
{
"run": {
"name": "Generate cache key",
"command": "find ./packages/ -name package.json -print0 | sort -z | xargs -r0 echo ./package.json | xargs md5sum | md5sum - > checksum.txt"
}
},
{
"restore_cache": {
"key": "core-node10-{{ checksum \"checksum.txt\" }}-1"
}
},
{
"run": {
"name": "Install and build packages",
"command": "yarn setup"
}
},
{
"save_cache": {
"key": "core-node10-{{ checksum \"checksum.txt\" }}-1",
"paths": []
}
},
{
"run": {
"name": "Create .ark/database directory",
"command": "mkdir -p $HOME/.ark/database"
}
},
{
"run": {
"name": "Test",
"command": ""
}
},
{
"run": {
"name": "Last 1000 lines of test output",
"when": "on_fail",
"command": "tail -n 1000 test_output.txt"
}
},
{
"run": {
"name": "Codecov",
"command": "./node_modules/.bin/codecov"
}
}
]
},
{
"image": "postgres:alpine",
"environment": {
"POSTGRES_PASSWORD": "password",
"POSTGRES_DB": "ark_development",
"POSTGRES_USER": "ark"
}
"test-node11-0": {
"working_directory": "~/ark-core",
"docker": [
{
"image": "circleci/node:11-browsers"
},
{
"image": "postgres:alpine",
"environment": {
"POSTGRES_PASSWORD": "password",
"POSTGRES_DB": "ark_development",
"POSTGRES_USER": "ark"
}
}
],
"steps": [
"checkout",
{
"run": {
"name": "Apt update",
"command": "sudo sh -c 'echo \"deb http://ftp.debian.org/debian stable main contrib non-free\" >> /etc/apt/sources.list' && sudo apt-get update"
}
},
{
"run": {
"name": "Install xsel",
"command": "sudo apt-get install -q xsel"
}
},
{
"run": {
"name": "Generate cache key",
"command": "find ./packages/ -name package.json -print0 | sort -z | xargs -r0 echo ./package.json | xargs md5sum | md5sum - > checksum.txt"
}
},
{
"restore_cache": {
"key": "core-node11-{{ checksum \"checksum.txt\" }}-1"
}
},
{
"run": {
"name": "Install and build packages",
"command": "yarn setup"
}
},
{
"save_cache": {
"key": "core-node11-{{ checksum \"checksum.txt\" }}-1",
"paths": []
}
},
{
"run": {
"name": "Create .ark/database directory",
"command": "mkdir -p $HOME/.ark/database"
}
},
{
"run": {
"name": "Test",
"command": ""
}
},
{
"run": {
"name": "Last 1000 lines of test output",
"when": "on_fail",
"command": "tail -n 1000 test_output.txt"
}
},
{
"run": {
"name": "Codecov",
"command": "./node_modules/.bin/codecov"
}
}
]
}
],
"steps": [
"checkout",
{
"run": {
"name": "Apt update",
"command": "sudo sh -c 'echo \"deb http://ftp.debian.org/debian stable main contrib non-free\" >> /etc/apt/sources.list' && sudo apt-get update"
}
},
{
"run": {
"name": "Install xsel",
"command": "sudo apt-get install -q xsel"
}
},
{
"run": {
"name": "Generate cache key",
"command": "find ./packages/ -name package.json -print0 | sort -z | xargs -r0 echo ./package.json | xargs md5sum | md5sum - > checksum.txt"
}
},
{
"restore_cache": {
"key": "core-node10-{{ checksum \"checksum.txt\" }}-1"
}
},
{
"run": {
"name": "Install packages",
"command": "yarn"
}
},
{
"save_cache": {
"key": "core-node10-{{ checksum \"checksum.txt\" }}-1",
"paths": []
}
},
{
"run": {
"name": "Create .ark/database directory",
"command": "mkdir -p $HOME/.ark/database"
}
},
{
"run": {
"name": "Test",
"command": "./node_modules/.bin/cross-env ARK_ENV=test ./node_modules/.bin/jest {{TESTPATHS}} --detectOpenHandles --runInBand --forceExit --ci --coverage | tee test_output.txt\n"
}
},
{
"run": {
"name": "Last 1000 lines of test output",
"when": "on_fail",
"command": "tail -n 1000 test_output.txt"
}
},
{
"run": {
"name": "Codecov",
"command": "./node_modules/.bin/codecov"
}
},
"workflows": {
"version": 2,
"build_and_test": {
"jobs": []
}
]
}
},
"workflows": {
"version": 2,
"build_and_test": {
"jobs": []
}
}
}
Loading