Skip to content

Commit

Permalink
use GA
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Nov 22, 2020
1 parent 587663e commit e1f57d0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/actions.yml
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
services:
mysql:
image: mysql
strategy:
matrix:
ruby: [ '2.5', '2.6', '2.7' ]
name: ${{ matrix.ruby }} rake ${{ matrix.task }}
steps:
- uses: actions/checkout@v2
- 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
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion spec/parallel_spec.rb
Expand Up @@ -189,7 +189,7 @@ def cpus
end

it "does not open unnecessary pipes" do
max = (RbConfig::CONFIG["target_os"].include?("darwin1") ? 10 : 1500) # somehow super bad on travis
max = (RbConfig::CONFIG["target_os"].include?("darwin1") ? 10 : 1800) # somehow super bad on CI
`ruby spec/cases/count_open_pipes.rb`.to_i.should < max
end
end
Expand Down

0 comments on commit e1f57d0

Please sign in to comment.