Project

General

Profile

Feature #44345 » 0001-Add-SimpleCov-coverage-to-Github-Actions-test-workfl.patch

Marius BĂLTEANU, 2026-08-18 23:55

View differences:

.github/workflows/tests.yml
name: test ${{matrix.db}} ruby-${{ matrix.ruby }}
runs-on: ubuntu-latest
env:
COVERAGE: ${{ matrix.ruby == '4.0' && matrix.db == 'sqlite3' && 'true' || '' }}
strategy:
matrix:
ruby: ['3.2', '3.3', '3.4', '4.0']
......
run: |
bin/rails test:autoload
- name: Upload coverage report
if: always() && matrix.ruby == '4.0' && matrix.db == 'sqlite3'
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage
if-no-files-found: ignore
system-tests:
name: system test
runs-on: ubuntu-latest
(6-6/9)