Skip to content

Commit

Permalink
Merge pull request #151 from ruby/use-test-unit-ruby-core
Browse files Browse the repository at this point in the history
Use test-unit-ruby-core from vendored code
  • Loading branch information
hsbt authored Jun 8, 2023
2 parents 032f1f6 + bd359de commit 097d0f6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1,162 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ name: ubuntu
on: [push, pull_request]

jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.7

build:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ head, '3.2', '3.1', '3.0', '2.7' ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest ]
experimental: [false]
runs-on: ${{ matrix.os }}
Expand All @@ -18,7 +25,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
bundler-cache: true
rubygems: latest
- name: Run test
run: rake test
run: bundle exec rake test
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ gemspec
gem "rake"
gem "rdoc"
gem "test-unit"
gem "test-unit-ruby-core", git: "https://github.com/ruby/test-unit-ruby-core"
Loading

0 comments on commit 097d0f6

Please sign in to comment.