Skip to content

Commit

Permalink
Test installation from packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 10, 2024
1 parent 33105bc commit ea2beb7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,16 @@ jobs:
bundler-cache: true
- name: Run test
run: bundle exec rake test
- name: Build package
id: build
run: |
if ruby -e 'exit RUBY_VERSION>="3.0."'; then
bundle exec rake build
set pkg/*.gem
echo pkg=$1 >> $GITHUB_OUTPUT
fi
- name: Install gem
run: |
gem install ${{ steps.build.outputs.pkg }}
ruby -rresolv -e 'puts Resolv::VERSION'
if: ${{ startsWith(matrix.ruby, 'ruby') && steps.build.outputs.pkg }}

0 comments on commit ea2beb7

Please sign in to comment.