From 4002392b124d338561974273b046cf95894187d9 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 19 Dec 2020 12:55:30 +0100 Subject: [PATCH] Replaced scrutinizer with codecov --- .github/workflows/ci.yml | 5 ++++- .scrutinizer.yml | 3 --- CHANGELOG.md | 1 + README.md | 3 +-- package-lock.json | 17 ----------------- package.json | 1 - 6 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 .scrutinizer.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 382d9ebb..f2e68544 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,10 @@ jobs: node-version: 14.15 - run: npm ci - run: npm run test:ci - - run: node_modules/.bin/ocular coverage/clover.xml + - name: Publish coverage + uses: codecov/codecov-action@v1 + with: + file: ./coverage/clover.xml mutation-tests: continue-on-error: true diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 49332e69..00000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,3 +0,0 @@ -tools: - external_code_coverage: - timeout: 1200 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0668033f..73f3bb1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed * [#267](https://github.com/shlinkio/shlink-web-client/issues/267) Added some subtle but important improvements on UI/UX. +* [#352](https://github.com/shlinkio/shlink-web-client/issues/352) Moved from Scrutinizer to Codecov as the code coverage backend. ### Deprecated * *Nothing* diff --git a/README.md b/README.md index ca5bb8ea..d58c59a8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # shlink-web-client [![Build Status](https://img.shields.io/github/workflow/status/shlinkio/shlink-web-client/Continuous%20integration/main?logo=github&style=flat-square)](https://github.com/shlinkio/shlink-web-client/actions?query=workflow%3A%22Continuous+integration%22) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/shlinkio/shlink-web-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/shlinkio/shlink-web-client/) -[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/shlinkio/shlink-web-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/shlinkio/shlink-web-client/) +[![Code Coverage](https://img.shields.io/codecov/c/gh/shlinkio/shlink-web-client/main?style=flat-square)](https://app.codecov.io/gh/shlinkio/shlink-web-client) [![GitHub release](https://img.shields.io/github/release/shlinkio/shlink-web-client.svg?style=flat-square)](https://github.com/shlinkio/shlink-web-client/releases/latest) [![Docker pulls](https://img.shields.io/docker/pulls/shlinkio/shlink-web-client.svg?logo=docker&style=flat-square)](https://hub.docker.com/r/shlinkio/shlink-web-client/) [![GitHub license](https://img.shields.io/github/license/shlinkio/shlink-web-client.svg?style=flat-square)](https://github.com/shlinkio/shlink-web-client/blob/main/LICENSE) diff --git a/package-lock.json b/package-lock.json index c6c86086..9c87279e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18002,23 +18002,6 @@ "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", "dev": true }, - "ocular.js": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/ocular.js/-/ocular.js-0.1.0.tgz", - "integrity": "sha1-OhRqtZhk6X/7Evg+HY8Duav5qGY=", - "dev": true, - "requires": { - "commander": "^2.9.0" - }, - "dependencies": { - "commander": { - "version": "2.19.0", - "resolved": "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz", - "integrity": "sha1-9hmKqE5bg8RgVLlN3tv+1e6f8So=", - "dev": true - } - } - }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", diff --git a/package.json b/package.json index 30bb5390..e4e1524d 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,6 @@ "jest-resolve": "^26.6.2", "mini-css-extract-plugin": "^1.3.1", "object-assign": "^4.1.1", - "ocular.js": "^0.1.0", "optimize-css-assets-webpack-plugin": "^5.0.4", "pnp-webpack-plugin": "^1.6.4", "postcss": "^8.1.7",