Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run only benchmark #328

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/dependency-review.yml

This file was deleted.

19 changes: 1 addition & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
# Due to https://github.com/actions/runner/issues/849, we have to use
# quotes for '3.0' -- without quotes, CI sees '3' and runs the latest.
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby, truffleruby-head]
ruby: [2.7, 3.2]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -33,23 +33,6 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- run: bundle exec rspec

- uses: codecov/codecov-action@v3
with:
files: ./coverage/coverage.xml
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
if: matrix.ruby == 3.2

- run: bundle exec rubocop
if: matrix.ruby == 3.2

- run: |
bundle exec yard doctest
bundle exec dokaz
if: matrix.ruby == 3.2

- name: Run benchmarks on Ruby 2.7 or 3.2
run: |
BUNDLE_GEMFILE=benchmarks/Gemfile bundle install --jobs 4 --retry 3
Expand Down