diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 7f423337..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: 2 -jobs: - rust/coverage: - machine: - image: ubuntu-2004:current - steps: - - checkout - - run: - name: Show CPU info - command: | - nproc - lscpu - - run: - name: Run cargo tarpaulin (Allowing a failure) - command: | - docker run --security-opt seccomp=unconfined -v "${PWD}:/volume" \ - --env RUSTFLAGS='--cfg circleci' \ - xd009642/tarpaulin \ - cargo tarpaulin -v \ - --features 'sync, future' \ - --ciserver circle-ci \ - --coveralls ${COVERALLS_TOKEN} \ - --timeout 600 \ - || true - -workflows: - build: - jobs: - - rust/coverage: - filters: - # Ignore pushes on temporary branches for GitHub merge queue. - branches: - ignore: /gh-readonly-queue\/.*/ - version: 2 diff --git a/.vscode/settings.json b/.vscode/settings.json index a8aa663c..6cdda843 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,6 +15,7 @@ "circleci", "CLFU", "clippy", + "Codecov", "compat", "cpus", "dashmap", diff --git a/README.md b/README.md index 491e534b..1354b9fb 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![crates.io release][release-badge]][crate] [![docs][docs-badge]][docs] [![dependency status][deps-rs-badge]][deps-rs] - +[![codecov][codecov-badge]][codecov] [![license][license-badge]](#license) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka?ref=badge_shield) @@ -27,7 +27,7 @@ algorithm to determine which entries to evict when the capacity is exceeded. [release-badge]: https://img.shields.io/crates/v/moka.svg [docs-badge]: https://docs.rs/moka/badge.svg [deps-rs-badge]: https://deps.rs/repo/github/moka-rs/moka/status.svg -[coveralls-badge]: https://coveralls.io/repos/github/moka-rs/moka/badge.svg?branch=main +[codecov-badge]: https://codecov.io/gh/moka-rs/moka/graph/badge.svg?token=7GYZNS7O67 [license-badge]: https://img.shields.io/crates/l/moka.svg [fossa-badge]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka.svg?type=shield @@ -35,7 +35,7 @@ algorithm to determine which entries to evict when the capacity is exceeded. [crate]: https://crates.io/crates/moka [docs]: https://docs.rs/moka [deps-rs]: https://deps.rs/repo/github/moka-rs/moka -[coveralls]: https://coveralls.io/github/moka-rs/moka?branch=main +[codecov]: https://codecov.io/gh/moka-rs/moka [fossa]: https://app.fossa.com/projects/git%2Bgithub.com%2Fmoka-rs%2Fmoka?ref=badge_shield [caffeine-git]: https://github.com/ben-manes/caffeine @@ -589,4 +589,6 @@ at your option. See [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details. +