Skip to content

Commit

Permalink
Migrate to GitHub actions, remove old rubies/paperclips
Browse files Browse the repository at this point in the history
  • Loading branch information
deees committed Oct 17, 2023
1 parent 2714082 commit 0445991
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 42 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tests
on: [push, pull_request]
jobs:
rspec:
strategy:
fail-fast: false
matrix:
gemfile: [gemfiles/Gemfile.paperclip-6.0.x, Gemfile]
ruby: [2.6, 2.7]
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# paperclip-tus

[![Build Status](https://travis-ci.org/deees/paperclip-tus.svg?branch=master)](https://travis-ci.org/deees/paperclip-tus)
[![Build Status](https://github.com/deees/paperclip-tus/actions/workflows/test.yml/badge.svg)](https://github.com/deees/paperclip-tus/actions/workflows/test.yml)

paperclip-tus is paperclip io adapter for [tus-ruby-server](https://github.com/janko-m/tus-ruby-server).

Expand Down
5 changes: 0 additions & 5 deletions gemfiles/Gemfile.paperclip-4.3.x

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile.paperclip-5.0.x

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile.paperclip-5.1.x

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile.paperclip-5.2.x

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile.paperclip-5.3.x

This file was deleted.

2 changes: 1 addition & 1 deletion paperclip-tus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop'

spec.add_runtime_dependency 'paperclip', '>= 4.3'
spec.add_runtime_dependency 'paperclip', '>= 6.0'
spec.add_runtime_dependency 'tus-server', '~> 0.10'
end

0 comments on commit 0445991

Please sign in to comment.