mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 11:02:30 +01:00
Ditch codeclimate
This commit is contained in:
parent
54ad3609b9
commit
706e084eb2
@ -1,9 +1,9 @@
|
|||||||
name: ci
|
name: build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ruby:2.7.1
|
image: ruby:2.7.1
|
||||||
@ -19,20 +19,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: gem install bundler
|
- run: gem install bundler
|
||||||
- run: bundle install --jobs 4 --retry 3
|
- run: bundle install --jobs 4 --retry 3
|
||||||
- uses: paambaati/codeclimate-action@v2.5.6
|
- run: bundle exec rake
|
||||||
env:
|
env:
|
||||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
||||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||||
with:
|
|
||||||
coverageCommand: bundle exec rake
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: build
|
needs: test
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: elgohr/Publish-Docker-Github-Action@2.11
|
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
||||||
with:
|
with:
|
||||||
name: hakanensari/frankfurter
|
name: hakanensari/frankfurter
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
2
Gemfile
2
Gemfile
@ -21,7 +21,7 @@ group :test do
|
|||||||
gem 'rack-test'
|
gem 'rack-test'
|
||||||
gem 'rubocop-performance'
|
gem 'rubocop-performance'
|
||||||
gem 'rubocop-sequel'
|
gem 'rubocop-sequel'
|
||||||
gem 'simplecov', '0.17.1'
|
gem 'simplecov'
|
||||||
gem 'vcr'
|
gem 'vcr'
|
||||||
gem 'webmock'
|
gem 'webmock'
|
||||||
end
|
end
|
||||||
|
10
Gemfile.lock
10
Gemfile.lock
@ -17,7 +17,6 @@ GEM
|
|||||||
i18n (1.8.2)
|
i18n (1.8.2)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jaro_winkler (1.5.4)
|
jaro_winkler (1.5.4)
|
||||||
json (2.3.0)
|
|
||||||
kgio (2.11.3)
|
kgio (2.11.3)
|
||||||
minitest (5.14.0)
|
minitest (5.14.0)
|
||||||
minitest-around (0.5.0)
|
minitest-around (0.5.0)
|
||||||
@ -68,11 +67,10 @@ GEM
|
|||||||
sequel_pg (1.12.5)
|
sequel_pg (1.12.5)
|
||||||
pg (>= 0.18.0, != 1.2.0)
|
pg (>= 0.18.0, != 1.2.0)
|
||||||
sequel (>= 4.38.0)
|
sequel (>= 4.38.0)
|
||||||
simplecov (0.17.1)
|
simplecov (0.18.5)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
json (>= 1.8, < 3)
|
simplecov-html (~> 0.11)
|
||||||
simplecov-html (~> 0.10.0)
|
simplecov-html (0.12.2)
|
||||||
simplecov-html (0.10.2)
|
|
||||||
sinatra (2.0.8.1)
|
sinatra (2.0.8.1)
|
||||||
mustermann (~> 1.0)
|
mustermann (~> 1.0)
|
||||||
rack (~> 2.0)
|
rack (~> 2.0)
|
||||||
@ -108,7 +106,7 @@ DEPENDENCIES
|
|||||||
rubocop-sequel
|
rubocop-sequel
|
||||||
rufus-scheduler
|
rufus-scheduler
|
||||||
sequel_pg
|
sequel_pg
|
||||||
simplecov (= 0.17.1)
|
simplecov
|
||||||
sinatra
|
sinatra
|
||||||
unicorn
|
unicorn
|
||||||
vcr
|
vcr
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# Frankfurter
|
# Frankfurter
|
||||||
|
|
||||||
[![Build](https://github.com/hakanensari/frankfurter/workflows/ci/badge.svg)](https://github.com/hakanensari/frankfurter/actions)
|
[![Build](https://github.com/hakanensari/frankfurter/workflows/build/badge.svg)](https://github.com/hakanensari/frankfurter/actions)
|
||||||
[![Maintainability](https://api.codeclimate.com/v1/badges/81f8a458f29f171928f7/maintainability)](https://codeclimate.com/github/hakanensari/frankfurter/maintainability)
|
|
||||||
[![Test Coverage](https://api.codeclimate.com/v1/badges/81f8a458f29f171928f7/test_coverage)](https://codeclimate.com/github/hakanensari/frankfurter/test_coverage)
|
|
||||||
|
|
||||||
[Frankfurter](https://www.frankfurter.app) is a free and open-source currency data API that tracks reference exchange rates published by the European Central Bank.
|
[Frankfurter](https://www.frankfurter.app) is a free and open-source currency data API that tracks reference exchange rates published by the European Central Bank.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user