Skip to content

Commit 5cda7c8

Browse files
committed
Remove codecov
1 parent 0d389cf commit 5cda7c8

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.circleci/config.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
version: 2.1
22

3-
orbs:
4-
codecov: codecov/codecov@1.2.2
5-
63
jobs:
74
clj-kondo:
85
docker:
@@ -31,8 +28,7 @@ jobs:
3128
command: lein test-ci
3229
- run:
3330
name: Code Coverage
34-
command: lein cloverage --codecov
35-
- codecov/upload
31+
command: lein cloverage
3632
- save_cache:
3733
key: clj-jars-v2-{{ checksum "project.clj" }}
3834
paths:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Bond [![CircleCI Status](https://circleci.com/gh/circleci/bond.png?style=badge)](https://circleci.com/gh/circleci/bond) [![codecov.io](https://codecov.io/github/circleci/bond/coverage.svg?branch=main)](https://codecov.io/github/circleci/bond?branch=main)
1+
Bond [![CircleCI Status](https://circleci.com/gh/circleci/bond.png?style=badge)](https://circleci.com/gh/circleci/bond)
22
====
33

44
Bond is a spying and stubbing library, primarily intended for tests.
@@ -41,14 +41,14 @@ Bond also provides `with-stub!`. It works the same as `with-spy`, but redefines
4141
(with-stub! [[foo (fn [x] "foo")]
4242
[bar (fn [y] "bar")]]
4343
(is (= ["foo" "bar"] [(foo 1) (bar 2)]))))
44-
44+
4545
(deftest consecutive-stubbing
46-
(with-stub! [[foo [(fn [x] "foo1")
47-
(fn [x] "foo2")
46+
(with-stub! [[foo [(fn [x] "foo1")
47+
(fn [x] "foo2")
4848
(fn [x] "foo3")]]
4949
[bar (fn [y] "bar")]]
5050
(is (= ["foo1" "foo2" "foo3" "bar"] [(foo 1) (foo 1) (foo 1) (bar 2)]))))
51-
51+
5252
```
5353

5454
Private functions can also be stubbed or spyed:

project.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"--no-randomize"]
2323
"test-ci" ["test"
2424
"--plugin" "cloverage"
25-
"--codecov" "--no-cov-html" "--no-cov-summary"
2625
"--plugin" "kaocha.plugin/profiling"
2726
"--plugin" "kaocha.plugin/junit-xml"
2827
"--junit-xml-file" "target/test-results/results.xml"]}

0 commit comments

Comments
 (0)