Skip to content

Commit

Permalink
Pass CIRCLE_SHA1 to codecov + remove codecov from package.json (Glady…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles authored and NickDub committed Aug 7, 2020
1 parent bb07d10 commit 3331816
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 219 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
command: cd server && npm run coverage
- run:
name: Push coverage
command: bash <(curl -s https://codecov.io/bash)
command: bash <(curl -s https://codecov.io/bash) -Z -C $CIRCLE_SHA1
test-front:
working_directory: ~/gladys-test/front # directory where steps will run
docker: # run the steps with Docker
Expand All @@ -88,7 +88,7 @@ jobs:
path: ~/gladys-test
- run:
name: Install global dependencies
command: "sudo npm install codecov npm@latest -g"
command: "sudo npm install npm@latest -g"
- restore_cache: # special step to restore the dependency cache
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
key: dependency-cache-{{ checksum "package.json" }}-node-12
Expand Down
137 changes: 0 additions & 137 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"build-front": "cd front && npm run build",
"copy-front": "shx cp -R front/build server/static",
"build": "npm run build:clean && npm run build-front && npm run copy-front",
"push-coverage": "codecov -F server",
"generate-changelog": "auto-changelog"
},
"repository": {
Expand All @@ -28,7 +27,6 @@
"author": "Pierre-Gilles Leymarie",
"license": "MIT",
"devDependencies": {
"codecov": "^3.5.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.2"
},
Expand Down
76 changes: 0 additions & 76 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3331816

Please sign in to comment.