Skip to content

Commit

Permalink
run test command instead of rake test; run rubocop tests only with …
Browse files Browse the repository at this point in the history
…ruby-latest
  • Loading branch information
iliabylich committed Sep 2, 2020
1 parent c186021 commit 339a823
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
BUNDLE_RETRY: 3
CI: true
TRUFFLERUBYOPT: "--engine.Mode=latency"
continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.allow_failure }}
strategy:
fail-fast: false
matrix:
ruby: ["2.4.10", "2.5.8", "2.6.6", "2.7.1", "jruby-9.2", "truffleruby"]
test_command: ["bundle exec rake test", "./ci/run_rubocop_specs"]
experimental: [false]
test_command: ["bundle exec rake test"]
allow_failure: [false]
include:
- ruby: "head"
experimental: true
allow_failure: true
- ruby: "2.7.1"
test_command: "./ci/run_rubocop_specs"
allow_failure: true
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
Expand All @@ -46,4 +49,4 @@ jobs:
bundle update
- name: Run tests
run: |
bundle exec rake test
${{ matrix.test_command }}

0 comments on commit 339a823

Please sign in to comment.