mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Update test workflow names, action tags, and add ruby 3.2
This commit is contained in:
parent
90437ddf86
commit
e65a1dad3b
1 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue