Skip to content

Commit

Permalink
Switch to codecov.io
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed Dec 26, 2024
1 parent 62f4eb4 commit 202d2fd
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Run RSpec Suite
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
run: |
bundle exec rspec
bundle exec rspec --format documentation --format RspecJunitFormatter --out junit.xml
- name: Dump Schema
run: |
Expand All @@ -134,10 +134,19 @@ jobs:
name: graphql-schema-${{ matrix.ruby }}
path: schema.graphql

- name: Publish code coverage
uses: paambaati/codeclimate-action@v9.0.0
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
continue-on-error: true
with:
token: ${{ secrets.CODECOV_ORG_TOKEN }}
slug: hummingbird-me/kitsu-server

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_ORG_TOKEN }}

build:
needs: [check_secrets]
Expand Down

0 comments on commit 202d2fd

Please sign in to comment.