Skip to content

Commit

Permalink
Setup steep test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elct9620 committed Jan 12, 2024
1 parent efa5283 commit b6ebdc4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: rbs collection install
- name: Run all tests
run: bundle exec rake
11 changes: 10 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ require "rubocop/rake_task"

RuboCop::RakeTask.new

task default: %i[spec rubocop]
task :steep do
# Steep doesn't provide Rake integration yet,
# but can do that ourselves
require "steep"
require "steep/cli"

Steep::CLI.new(argv: ["check"], stdout: $stdout, stderr: $stderr, stdin: $stdin).run
end

task default: %i[spec rubocop steep]

0 comments on commit b6ebdc4

Please sign in to comment.