Skip to content

Commit

Permalink
Run tests using github actions (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliabylich committed Jan 23, 2021
1 parent fa14f33 commit 0b02fcf
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
29 changes: 28 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,32 @@ jobs:
test:
name: run tests
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
CI: true
TRUFFLERUBYOPT: "--engine.Mode=latency"
strategy:
fail-fast: false
matrix:
ruby: ["2.4.10", "2.5.8", "2.6.6", "2.7.2", "3.0.0", "jruby-9.2"]
command: ["bundle exec rake test"]
include:
- ruby: "head"
command: "bundle exec rake test || true"
- ruby: "truffleruby"
command: "bundle exec rake test || true"
steps:
- run: echo Success
- name: checkout
uses: actions/checkout@v2

- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: bundle install
run: bundle install

- name: run tests
run: ${{ matrix.command }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 0b02fcf

Please sign in to comment.