|
1 | 1 | name: Test Coverage |
2 | 2 |
|
3 | 3 | env: |
4 | | - K_SOUP_COV_MIN_BRANCH: 2 |
5 | | - K_SOUP_COV_MIN_LINE: 46 |
| 4 | + K_SOUP_COV_MIN_BRANCH: 69 |
| 5 | + K_SOUP_COV_MIN_LINE: 88 |
6 | 6 | K_SOUP_COV_MIN_HARD: true |
7 | 7 | K_SOUP_COV_DO: true |
8 | | - K_SOUP_COV_COMMAND_NAME: "RSpec Coverage" |
| 8 | + K_SOUP_COV_COMMAND_NAME: "Minitest Coverage" |
9 | 9 |
|
10 | 10 | on: |
11 | 11 | push: |
@@ -93,27 +93,31 @@ jobs: |
93 | 93 | path: code-coverage-results.md |
94 | 94 | continue-on-error: ${{ matrix.experimental != 'false' }} |
95 | 95 |
|
96 | | - - name: Coveralls |
| 96 | + - name: Upload coverage to Coveralls |
97 | 97 | uses: coverallsapp/github-action@master |
| 98 | + if: ${{ github.event_name != 'pull_request' }} |
98 | 99 | with: |
99 | 100 | github-token: ${{ secrets.GITHUB_TOKEN }} |
100 | 101 | continue-on-error: ${{ matrix.experimental != 'false' }} |
101 | 102 |
|
| 103 | + - name: Upload coverage to QLTY |
| 104 | + uses: qltysh/qlty-action/coverage@main |
| 105 | + with: |
| 106 | + coverage-token: {{secrets.QLTY_COVERAGE_TOKEN}} |
| 107 | + files: coverage/.resultset.json |
| 108 | + if: ${{ github.event_name != 'pull_request' }} |
| 109 | + continue-on-error: ${{ matrix.experimental != 'false' }} |
| 110 | + |
102 | 111 | - name: Upload coverage to Codecov |
103 | 112 | uses: codecov/codecov-action@v5 |
| 113 | + if: ${{ github.event_name != 'pull_request' }} |
104 | 114 | with: |
105 | 115 | token: ${{ secrets.CODECOV_TOKEN }} |
| 116 | + continue-on-error: ${{ matrix.experimental != 'false' }} |
106 | 117 |
|
107 | 118 | - name: Upload test results to Codecov |
108 | 119 | if: ${{ !cancelled() }} |
109 | 120 | uses: codecov/test-results-action@v1 |
110 | 121 | with: |
111 | 122 | token: ${{ secrets.CODECOV_TOKEN }} |
112 | | - |
113 | | - - name: Upload results to QLTY |
114 | | - uses: qltysh/qlty-action/coverage@main |
115 | | - with: |
116 | | - coverage-token: {{secrets.QLTY_COVERAGE_TOKEN}} |
117 | | - files: coverage/.resultset.json |
118 | | - if: ${{ github.event_name != 'pull_request' }} |
119 | 123 | continue-on-error: ${{ matrix.experimental != 'false' }} |
0 commit comments