Skip to content

Commit

Permalink
Add test job to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Jul 4, 2024
1 parent be40274 commit 37f0b73
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ permissions:
contents: read

jobs:
test:
needs: ruby-versions
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle install
- run: bundle exec rspec
check-misc:
runs-on: ubuntu-20.04
strategy:
Expand Down

0 comments on commit 37f0b73

Please sign in to comment.