Skip to content

Commit

Permalink
refactor: replace CodeClimate with CodeCov
Browse files Browse the repository at this point in the history
TODO: add back code-climate for transition
  • Loading branch information
StephenHulme committed Feb 13, 2024
1 parent ab42e13 commit 69c444c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 62 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
run: yarn install
- name: Run yarn test
run: yarn test
- name: Cache test coverage
uses: actions/cache@v3
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
path: ${{ github.workspace }}/app/javascript/coverage/lcov.info
key: coverage-js-cache-${{ github.sha }}
files: ${{ github.workspace }}/app/javascript/coverage/lcov.info
flags: javascript
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: sanger/limber
11 changes: 7 additions & 4 deletions .github/workflows/test_ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
run: bin/setup
- name: Run rspec
run: bundle exec rspec
- name: Cache test coverage
uses: actions/cache@v3
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
path: ${{ github.workspace }}/lcov.info
key: coverage-ruby-cache-${{ github.sha }}
files: ${{ github.workspace }}/lcov.info
flags: ruby
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: sanger/limber
54 changes: 0 additions & 54 deletions .github/workflows/upload_coverage.yml

This file was deleted.

0 comments on commit 69c444c

Please sign in to comment.