Skip to content

Commit

Permalink
Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdana committed Dec 4, 2023
1 parent bad5622 commit b2e7580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

# we assume this is checked out to ~/.dotfiles
ln -s $PWD ~/.dotfiles
env
~/.dotfiles/scripts/install.sh
. ~/.bash_profile
git config --global commit.gpgsign false
ruby -v
ruby -e 'puts `env`'
bundle exec rspec
2 changes: 2 additions & 0 deletions spec/git_rubocop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

RSpec.describe 'git rubocop hooks' do
before do
puts run('env').output
puts run('ruby -v').output
copy_file('.ruby-version')
file('Gemfile').write(<<~RUBY)
source 'https://rubygems.org'
Expand Down

0 comments on commit b2e7580

Please sign in to comment.