Skip to content

Commit 5de009d

Browse files
authored
chore: fix build (#260)
* chore: lock down celluloid version to make the tests pass * chore: add test workflow for github actions * chore: remove .travis.yml
1 parent c5ae5b1 commit 5de009d

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: "ubuntu-latest"
8+
continue-on-error: ${{ matrix.experimental }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
ruby_version: ["2.3.8", "2.4.5", "2.5.3", "2.6.3", "2.7.2"]
13+
experimental: [false]
14+
include:
15+
- ruby_version: "3.0"
16+
experimental: true
17+
- ruby_version: "ruby-head"
18+
experimental: true
19+
- ruby_version: "jruby-head"
20+
experimental: true
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby_version }}
27+
- run: "bundle install"
28+
- run: "bundle exec rspec spec/ -b"

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ group :test do
1212
gem "rspec-its", "~> 1.2"
1313
gem "rack", "~> 2.0"
1414
gem "rack-test", "~> 0.7"
15+
gem "websocket_parser", "~>1.0"
1516
end
1617

1718
group :webservers do
1819
gem 'reel', '~> 0.5.0'
1920
gem 'http', '~> 0.6.0'
21+
gem 'celluloid', '0.17.4' # Refactors in 0.18.0 break the tests
2022
gem 'httpkit', :platform => [:mri, :rbx]
2123
end
2224

0 commit comments

Comments
 (0)