Skip to content

Commit

Permalink
set a global GH user on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Sep 22, 2024
1 parent 8ad0072 commit 54d4f29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,12 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Configure git user name, email
run: |
git config --global user.name $NAME
git config --global user.email $EMAIL
env:
NAME: "George Costanza"
EMAIL: "[email protected]"
- name: Run tests
run: bundle exec rake test
2 changes: 1 addition & 1 deletion test/lolcommits/plugin/loltext_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def valid_enabled_config
end

describe '#valid_configuration?' do
it 'should be trye even if config is not set' do
it 'should be true even if config is not set' do
_(plugin.valid_configuration?).must_equal(true)
end

Expand Down

0 comments on commit 54d4f29

Please sign in to comment.