Add auto-tests for ruby 3.0

This commit is contained in:
Alex Sherman 2021-09-07 12:20:18 +05:00
parent 0ede3c7376
commit c7d167ef98

View file

@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-18.04]
ruby: [ 2.7 ]
ruby: [ 2.7, 3.0 ]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
steps:
@ -85,6 +85,10 @@ jobs:
path: coverage/codeclimate.${{ matrix.ruby }}.json
upload_coverage:
strategy:
fail-fast: false
matrix:
ruby: [ 2.7, 3.0 ]
runs-on: ubuntu-18.04
env:
@ -102,7 +106,7 @@ jobs:
- uses: actions/download-artifact@v2.0.10
with:
name: coverage-2.7
name: coverage-${{ matrix.ruby }}
path: coverage
- name: Aggregate & upload results to Code Climate