Skip to content

Commit

Permalink
Merge pull request #65 from doorkeeper-gem/tests
Browse files Browse the repository at this point in the history
Migrate to GitHub actions
  • Loading branch information
nbulaj authored Jul 25, 2022
2 parents 65e23c3 + 4489f22 commit fbc8f27
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 10 deletions.
35 changes: 35 additions & 0 deletions .github/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push, pull_request]

jobs:
build:
name: >-
Ruby ${{ matrix.ruby }}
env:
CI: true
RAILS_ENV: test

runs-on: ${{ matrix.os }}
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]'))
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
ruby:
- '3.1.0'
steps:
- name: Repo checkout
uses: actions/checkout@v2

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
timeout-minutes: 10
run: bundle exec rake spec
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion doorkeeper-i18n.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |gem|
gem.name = "doorkeeper-i18n"
gem.version = "5.2.3"
gem.version = "5.2.4"
gem.authors = ["Tute Costa", "Nikita Bulai"]
gem.email = %w[[email protected]]
gem.homepage = "https://github.com/doorkeeper-gem/doorkeeper-i18n"
Expand Down

0 comments on commit fbc8f27

Please sign in to comment.