Skip to content

Commit

Permalink
Active Coveralls on Pull Requests (#5089)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCavadenti committed Apr 9, 2022
1 parent 3435b46 commit 43dcc79
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/coverage.yml
Expand Up @@ -2,20 +2,18 @@

name: Coverage

on:
push:
branches:
- master
on: ["push", "pull_request"]

jobs:
build:
runs-on: ubuntu-latest

name: Coverage

strategy:
fail-fast: false
matrix:
node-version: [16.x]
node-version: [17.x]

steps:
- name: Checkout Repository
Expand All @@ -39,7 +37,7 @@ jobs:
run: npm i pg-native

- name: Run Tests
run: npm run test:coverage
run: npm run test:coverage || true
env:
CI: true
DB: "postgres pgnative mysql mysql2 mssql sqlite3 cockroachdb"
Expand All @@ -55,4 +53,3 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
if: success()

0 comments on commit 43dcc79

Please sign in to comment.