Skip to content

Commit

Permalink
Remove coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners committed Jul 24, 2023
1 parent 0084b84 commit ea5aa38
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 34 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,34 +65,6 @@ jobs:
- name: Run tests
run: npm run ci

- name: Coveralls Parallel
id: coveralls-parallel
uses: coverallsapp/github-action@v2.2.0
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: run-${{ matrix.node-version }}-${{ matrix.os }}

- name: Should Trigger coverallsapp/github-action@master
id: coveralls-trigger
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#steps-context
# when continue-on-error failed, outcome is failure and conclusion is success
if: steps.coveralls-parallel.conclusion == 'success' && steps.coveralls-parallel.outcome != 'success'
run: |
echo "::set-output name=COVERALLS_TRIGGER::failure"
coverage:
needs: test
runs-on: ubuntu-latest
if: needs.test.outputs.COVERALLS != 'failure'
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

automerge:
name: Automerge Dependabot PRs
if: >
Expand Down
5 changes: 0 additions & 5 deletions .taprc

This file was deleted.

5 changes: 5 additions & 0 deletions .taprc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage: true
reporter: terse

files:
- 'test/**/*.test.js'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"ci": "standard && tap --coverage-report=lcovonly && npm run test-types",
"lint": "standard | snazzy",
"test": "tap --100 --color",
"test": "tap",
"test-types": "tsc && tsd"
},
"repository": {
Expand Down

0 comments on commit ea5aa38

Please sign in to comment.