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