tests give Logger.new a string not a Pathname #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
gig: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_WITHOUT: dev test doc # ruby/setup-ruby's invocation of bundle install will be without these groups | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: head | |
bundler-cache: true | |
- run: bundle exec rake gig | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- jruby | |
- truffleruby | |
- truffleruby+graalvm | |
- '2.5' | |
- '2.7' | |
- '3.0' | |
- head | |
runs-on: | |
- ubuntu-latest | |
runs-on: ${{ matrix.runs-on }} | |
env: | |
BUNDLE_WITHOUT: dev doc # ruby/setup-ruby's invocation of bundle install will be without these groups | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- run: bundle exec rake test:each_format | |
- name: Report to Coveralls | |
uses: coverallsapp/github-action@v2.3.4 | |
with: | |
github-token: ${{ secrets.github_token }} | |
flag-name: "ruby: ${{ matrix.ruby-version }} os: ${{ matrix.runs-on }}" | |
parallel: true | |
finish: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Report completion to Coveralls | |
uses: coverallsapp/github-action@v2.3.4 | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true |