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
8 8
    name: test ${{matrix.db}} ruby-${{ matrix.ruby }}
9 9
    runs-on: ubuntu-latest
10 10

  
11
    env:
12
      COVERAGE: ${{ matrix.ruby == '4.0' && matrix.db == 'sqlite3' && 'true' || '' }}
13

  
11 14
    strategy:
12 15
      matrix:
13 16
        ruby: ['3.2', '3.3', '3.4', '4.0']
......
67 70
        run: |
68 71
          bin/rails test:autoload
69 72

  
73
      - name: Upload coverage report
74
        if: always() && matrix.ruby == '4.0' && matrix.db == 'sqlite3'
75
        uses: actions/upload-artifact@v7
76
        with:
77
          name: coverage-report
78
          path: coverage
79
          if-no-files-found: ignore
80

  
70 81
  system-tests:
71 82
    name: system test
72 83
    runs-on: ubuntu-latest
(6-6/6)