Skip to content

Commit

Permalink
Merge pull request #134 from crosscite/add_codeclimate_config
Browse files Browse the repository at this point in the history
Added code climate config
  • Loading branch information
ashwinisukale authored Dec 15, 2023
2 parents 068b5bc + d38c922 commit 728de5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
run: |1
# Run the tests in subsets instead of all at once.
bundle exec rspec spec
- name: Publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

build:
needs: test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
run: |
# Run the tests in subsets instead of all at once.
bundle exec rspec spec
- name: Publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

build:
needs: test
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# DOI Content Negotiation

[![Identifier](https://img.shields.io/badge/doi-10.5438%2Ft1jg--hvhn-fca709.svg)](https://doi.org/10.5438/t1jg-hvhn)
[![Build Status](https://travis-ci.org/crosscite/content-negotiation.svg?branch=master)](https://travis-ci.org/crosscite/content-negotiation) [![Code Climate](https://codeclimate.com/github/crosscite/content-negotiation/badges/gpa.svg)](https://codeclimate.com/github/crosscite/content-negotiation) [![Test Coverage](https://codeclimate.com/github/crosscite/content-negotiation/badges/coverage.svg)](https://codeclimate.com/github/crosscite/content-negotiation/coverage)
[![Build Status](https://github.com/crosscite/content-negotiation/actions/workflows/stage.yml/badge.svg?branch=master)](https://github.com/crosscite/content-negotiation/workflows/Deploy/badge.svg)
![Release](https://github.com/crosscite/content-negotiation/workflows/Deploy/badge.svg)
[![Code Climate](https://codeclimate.com/github/crosscite/content-negotiation/badges/gpa.svg)](https://codeclimate.com/github/crosscite/content-negotiation)
[![Test Coverage](https://codeclimate.com/github/crosscite/content-negotiation/badges/coverage.svg)](https://codeclimate.com/github/crosscite/content-negotiation/coverage)

Rails API application for conversion of DOI metadata form/to other metadata formats, including [schema.org](https://schema.org). Based on the [bolognese](https://github.com/datacite/bolognese) library for metadata conversion.

Expand Down

0 comments on commit 728de5d

Please sign in to comment.