mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +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]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:2.7.1
|
||||
@ -19,20 +19,17 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: gem install bundler
|
||||
- run: bundle install --jobs 4 --retry 3
|
||||
- uses: paambaati/codeclimate-action@v2.5.6
|
||||
- run: bundle exec rake
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||
with:
|
||||
coverageCommand: bundle exec rake
|
||||
|
||||
publish:
|
||||
needs: build
|
||||
needs: test
|
||||
if: github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: elgohr/Publish-Docker-Github-Action@2.11
|
||||
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
||||
with:
|
||||
name: hakanensari/frankfurter
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
2
Gemfile
2
Gemfile
@ -21,7 +21,7 @@ group :test do
|
||||
gem 'rack-test'
|
||||
gem 'rubocop-performance'
|
||||
gem 'rubocop-sequel'
|
||||
gem 'simplecov', '0.17.1'
|
||||
gem 'simplecov'
|
||||
gem 'vcr'
|
||||
gem 'webmock'
|
||||
end
|
||||
|
10
Gemfile.lock
10
Gemfile.lock
@ -17,7 +17,6 @@ GEM
|
||||
i18n (1.8.2)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jaro_winkler (1.5.4)
|
||||
json (2.3.0)
|
||||
kgio (2.11.3)
|
||||
minitest (5.14.0)
|
||||
minitest-around (0.5.0)
|
||||
@ -68,11 +67,10 @@ GEM
|
||||
sequel_pg (1.12.5)
|
||||
pg (>= 0.18.0, != 1.2.0)
|
||||
sequel (>= 4.38.0)
|
||||
simplecov (0.17.1)
|
||||
simplecov (0.18.5)
|
||||
docile (~> 1.1)
|
||||
json (>= 1.8, < 3)
|
||||
simplecov-html (~> 0.10.0)
|
||||
simplecov-html (0.10.2)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov-html (0.12.2)
|
||||
sinatra (2.0.8.1)
|
||||
mustermann (~> 1.0)
|
||||
rack (~> 2.0)
|
||||
@ -108,7 +106,7 @@ DEPENDENCIES
|
||||
rubocop-sequel
|
||||
rufus-scheduler
|
||||
sequel_pg
|
||||
simplecov (= 0.17.1)
|
||||
simplecov
|
||||
sinatra
|
||||
unicorn
|
||||
vcr
|
||||
|
@ -1,8 +1,6 @@
|
||||
# Frankfurter
|
||||
|
||||
[![Build](https://github.com/hakanensari/frankfurter/workflows/ci/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)
|
||||
[![Build](https://github.com/hakanensari/frankfurter/workflows/build/badge.svg)](https://github.com/hakanensari/frankfurter/actions)
|
||||
|
||||
[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