Tests: require 100% branch coverage to pass

Remove old coverage tooling, coveralls
This commit is contained in:
Lovell Fuller
2022-09-27 13:49:42 +01:00
parent b0c69f1ee9
commit 2d49f0e93e
6 changed files with 12 additions and 29 deletions

View File

@@ -7,7 +7,6 @@ jobs:
CI:
permissions:
contents: write # for npx prebuild to make release
checks: write # to create new checks (coverallsapp/github-action)
name: ${{ matrix.container || matrix.os }} - Node.js ${{ matrix.nodejs_version }} ${{ matrix.nodejs_arch }} ${{ matrix.prebuild && '- prebuild' }}
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
@@ -18,7 +17,6 @@ jobs:
- os: ubuntu-22.04
container: centos:7
nodejs_version: 14
coverage: true
prebuild: true
- os: ubuntu-22.04
container: centos:7
@@ -95,11 +93,6 @@ jobs:
run: npm install --build-from-source --unsafe-perm
- name: Test
run: npm test
- name: Coverage
if: matrix.coverage
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Prebuild
if: matrix.prebuild && startsWith(github.ref, 'refs/tags/')
env: