diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9618ed..de1069e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b11094b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: ruby -rvm: - - 2.4.10 - - 2.5.8 - - 2.6.6 - - 2.7.1 - - jruby-9.1.15.0 - - truffleruby-head -matrix: - allow_failures: - - truffleruby-head - -before_install: - - gem install bundler