Feature #44345 » 0001-Add-SimpleCov-coverage-to-Github-Actions-test-workfl.patch
| .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
|
||