From 93df60ef57acc0ba3a24633de1434c97dbd1cc48 Mon Sep 17 00:00:00 2001 From: Jordi Marimon Date: Tue, 12 Mar 2024 22:07:47 +0100 Subject: [PATCH] chore: remove codecov badge from README.md --- .github/workflows/build.yml | 9 ++------- CONTRIBUTING.md | 4 ---- README.md | 1 - package.json | 2 +- 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eafb4a75..bc61b74c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,10 +36,5 @@ jobs: - name: Build run: npm run build - - name: Run tests and collect coverage - run: npm run coverage - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - files: ./coverage/cobertura-coverage.xml + - name: Run tests + run: npm run test diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ec5135b3..24dee011 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,3 @@ To run all the tests: You can optionally specify the path (or part of it) from where to search and execute test files: npm run test -- - -The following example will execute all tests related to functions: - - npm run test -- function diff --git a/README.md b/README.md index 6660db5d..0cea28e1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](https://www.typescriptlang.org/) -[![codecov](https://codecov.io/gh/jordimarimon/ts-ast-parser/graph/badge.svg?token=DMIFUI10V9)](https://codecov.io/gh/jordimarimon/ts-ast-parser) [![Build and Test Workflow](https://github.com/jordimarimon/ts-ast-parser/actions/workflows/build.yml/badge.svg)](https://github.com/jordimarimon/ts-ast-parser/blob/main/.github/workflows/build.yml) diff --git a/package.json b/package.json index 593f2b0e..bc1b17b5 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "ts:clear": "rm -rf ./packages/*/dist", "test": "vitest run --config vitest.config.ts", "test:update": "UPDATE_SNAPSHOTS=true vitest run --config vitest.config.ts", - "coverage": "vitest run --coverage --config vitest.config.ts", + "test:coverage": "vitest run --coverage --config vitest.config.ts", "prepare": "node scripts/prepare.js", "upgrade": "rm -rf node_modules package-lock.json && npm i", "bump": "npx ncu -u -x typescript",