Skip to content

Commit

Permalink
switch from Coveralls to Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Jan 7, 2020
1 parent e32f732 commit 514760b
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 33 deletions.
55 changes: 55 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,55 @@
version: 2.1

orbs:
codecov: codecov/codecov@1.0.5

aliases:
- &defaults
working_directory: ~/project/ethereumjs-vm
docker:
- image: circleci/node:8
- &restore_node_modules
restore_cache:
name: Restore node_modules cache
keys:
- v1-node-{{ checksum "package.json" }}

jobs:
install:
<<: *defaults
steps:
- checkout
- *restore_node_modules
- run:
name: Install dependencies
command: npm install
- save_cache:
name: Save node_modules cache
key: v1-node-{{ checksum "package.json" }}
paths:
- node_modules/
- persist_to_workspace:
root: ~/project
paths:
- ethereumjs-vm/
coverage:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- *restore_node_modules
- run:
name: coverage
command: npm run coverage
- codecov/upload:
file: ./coverage/lcov.info
flags: vm

workflows:
version: 2
coverage:
jobs:
- install
- coverage:
requires:
- install
29 changes: 0 additions & 29 deletions .github/workflows/vm-coverage.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

[![NPM Package](https://img.shields.io/npm/v/ethereumjs-vm.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-vm)
[![Actions Status](https://github.com/ethereumjs/ethereumjs-vm/workflows/vm-test/badge.svg)](https://github.com/ethereumjs/ethereumjs-vm/actions)
[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-vm.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-vm)
[![Code Coverage](https://codecov.io/gh/ethereumjs/ethereumjs-vm/branch/master/graph/badge.svg)](https://codecov.io/gh/ethereumjs/ethereumjs-vm)
[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
Expand Down
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -10,9 +10,8 @@
"scripts": {
"build:dist": "ethereumjs-config-build",
"prepublishOnly": "npm run lint && npm run build:dist && npm run testBuildIntegrity",
"coverage": "nyc npm run coverage:test && nyc report --reporter=text-lcov > .nyc_output/lcov.info",
"coverage": "nyc npm run coverage:test && nyc report --reporter=lcov",
"coverage:test": "npm run build:dist && tape './tests/api/**/*.js' ./tests/tester.js --state --dist",
"coveralls": "npm run coverage && if [ -n \"$COVERALLS_REPO_TOKEN\" ]; then coveralls <.nyc_output/lcov.info; fi",
"docs:build": "typedoc lib",
"test:vm": "node ./tests/tester --vm",
"test:state": "npm run build:dist && node ./tests/tester --state --dist",
Expand Down Expand Up @@ -72,7 +71,6 @@
"@types/lru-cache": "^5.1.0",
"@types/node": "^11.13.4",
"browserify": "^16.2.3",
"coveralls": "^3.0.0",
"ethereumjs-testing": "git+https://github.com/ethereumjs/ethereumjs-testing.git#v1.3.0",
"husky": "^2.1.0",
"karma": "^4.0.1",
Expand Down

0 comments on commit 514760b

Please sign in to comment.