Skip to content

Commit

Permalink
Remove coverage (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine authored Mar 27, 2024
1 parent fe4e948 commit a853872
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 395 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ on:

env:
FORCE_COLOR: 2
NODE_COV: 20

permissions:
contents: read

jobs:
run:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code

name: Node ${{ matrix.node }} on ${{ matrix.os }}
Expand Down Expand Up @@ -47,20 +45,9 @@ jobs:
- name: Build
run: npm run build

- name: E2E Tests
run: npm run test:e2e
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Unit Tests
run: npm run test:unit
if: (!(startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV))

- name: Tests with coverage
run: npx c8 -- npm run test:unit
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Coveralls
uses: coverallsapp/[email protected]
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: E2E Tests
run: npm run test:e2e
if: startsWith(matrix.os, 'ubuntu') && matrix.node == 20
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ build
yarn.lock
.DS_store

/coverage/

# test files
/test/temp_package*.json
/test/.ncurc.json
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
build/
coverage/
build/
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![npm version](https://img.shields.io/npm/v/npm-check-updates)](https://www.npmjs.com/package/npm-check-updates)
[![Build Status](https://img.shields.io/github/actions/workflow/status/raineorshine/npm-check-updates/test.yml?branch=main&label=tests&logo=github)](https://github.com/raineorshine/npm-check-updates/actions?query=workflow%3ATests+branch%3Amain)
[![Coverage Status](https://img.shields.io/coveralls/github/raineorshine/npm-check-updates/main)](https://coveralls.io/github/raineorshine/npm-check-updates?branch=main)

**npm-check-updates upgrades your package.json dependencies to the _latest_ versions, ignoring specified versions.**

Expand Down
Loading

0 comments on commit a853872

Please sign in to comment.