Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Aug 25, 2021
1 parent cbd4d88 commit 6d9a696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
# Run them in different steps to quickly identifying which command failed
# Otherwise just doing `yarn test:spec` you can't tell which specific suite failed
# many of the suites have identical names for minimal and mainnet
- name: Spec tests ssz
run: yarn test:ssz
- name: Spec tests general
run: yarn test:general
working-directory: packages/spec-test-runner
- name: Spec tests bls
run: yarn test:bls
Expand Down
8 changes: 3 additions & 5 deletions packages/spec-test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
"check-types": "tsc --noEmit",
"download-test-cases": "node -r ts-node/register test/downloadTests.ts",
"check-tests": "mocha test/checkTests.test.ts",
"test:ssz-generic": "mocha 'test/spec/ssz/generic/index.test.ts'",
"test:ssz-minimal": "LODESTAR_PRESET=minimal mocha 'test/spec/ssz/**/*minimal.test.ts'",
"test:ssz-mainnet": "mocha 'test/spec/ssz/**/*mainnet.test.ts'",
"test:ssz": "yarn test:ssz-generic && yarn test:ssz-minimal && yarn test:ssz-mainnet",
"test:bls": "mocha 'test/spec/bls/**/*.test.ts'",
"test:spec": "yarn test:ssz && yarn test:bls && yarn test:spec-phase0 && yarn test:spec-altair",
"test:ssz-generic": "mocha 'test/spec/ssz/generic/index.test.ts'",
"test:spec-general": "yarn test:bls && yarn test:ssz-generic",
"test:spec": "yarn test:spec-general && yarn test:bls && yarn test:spec-phase0 && yarn test:spec-altair",
"test:spec-altair-minimal": "LODESTAR_PRESET=minimal mocha 'test/spec/altair/**/*.test.ts'",
"test:spec-altair-mainnet": "LODESTAR_PRESET=mainnet mocha 'test/spec/altair/**/*.test.ts'",
"test:spec-phase0-minimal": "LODESTAR_PRESET=minimal mocha 'test/spec/phase0/**/*.test.ts'",
Expand Down

0 comments on commit 6d9a696

Please sign in to comment.