Skip to content

Commit

Permalink
ci: only upload stats to codeclimate on main
Browse files Browse the repository at this point in the history
  • Loading branch information
ilunglee committed Oct 17, 2021
1 parent 8b4f1e1 commit 4370018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ jobs:
path: coverage/raw.postgres.${{ matrix.ruby }}.${{ matrix.gemfile }}.json

codeclimate:
name: Upload test coverage stats to Code Climate
needs: [sqlite, mysql, postgres]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Download partial coverages
Expand Down

0 comments on commit 4370018

Please sign in to comment.