Update test workflow names, action tags, and add ruby 3.2

This commit is contained in:
Jake Spain 2023-03-20 14:11:04 -04:00
parent 90437ddf86
commit e65a1dad3b
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113

View file

@ -5,7 +5,7 @@
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: CI
name: Test
on:
pull_request:
@ -13,8 +13,7 @@ on:
- main
jobs:
test:
spec:
runs-on: ubuntu-latest
strategy:
matrix:
@ -22,9 +21,10 @@ jobs:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
@ -36,18 +36,19 @@ jobs:
- name: Run tests
run: bundle exec rake spec
- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.ruby-version }}
parallel: true
finish:
needs: test
needs: spec
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
parallel-finished: true