|
52 | 52 | with:
|
53 | 53 | tool: cargo-nextest,cargo-llvm-cov,cargo-binstall
|
54 | 54 |
|
55 |
| - - name: Install llvm-cov-pretty (HTML report generator) |
56 |
| - run: cargo binstall -y llvm-cov-pretty |
57 |
| - |
58 | 55 | - uses: actions/setup-python@v5
|
59 | 56 | with:
|
60 | 57 | python-version: 3.x
|
|
84 | 81 | - if: runner.os == 'Linux'
|
85 | 82 | run: sudo apt-get update
|
86 | 83 |
|
87 |
| - - name: Install clang v8 |
88 |
| - if: runner.os == 'Linux' |
89 |
| - uses: ./.github/install-clang-action |
90 |
| - with: |
91 |
| - version: '8' |
92 |
| - |
93 |
| - - name: Collect Coverage for clang v8 |
94 |
| - if: runner.os == 'Linux' |
95 |
| - env: |
96 |
| - CLANG_VERSION: '8' |
97 |
| - run: uvx nox -s test -- --profile ci |
98 |
| - |
99 | 84 | - name: Install clang v9
|
100 | 85 | uses: ./.github/install-clang-action
|
101 | 86 | with:
|
@@ -194,21 +179,55 @@ jobs:
|
194 | 179 | - name: Collect Coverage for clang v18
|
195 | 180 | env:
|
196 | 181 | CLANG_VERSION: '18'
|
| 182 | + run: uvx nox -s test -- --profile ci |
| 183 | + |
| 184 | + - name: Install clang v19 |
| 185 | + if: runner.os == 'Linux' |
| 186 | + uses: ./.github/install-clang-action |
| 187 | + with: |
| 188 | + version: '19' |
| 189 | + |
| 190 | + - name: Collect Coverage for clang v19 |
| 191 | + if: runner.os == 'Linux' |
| 192 | + env: |
| 193 | + CLANG_VERSION: '19' |
| 194 | + run: uvx nox -s test -- --profile ci |
| 195 | + |
| 196 | + - name: Install clang v20 |
| 197 | + if: runner.os == 'Linux' |
| 198 | + uses: ./.github/install-clang-action |
| 199 | + with: |
| 200 | + version: '20' |
| 201 | + |
| 202 | + - name: Collect Coverage for clang v20 |
| 203 | + if: runner.os == 'Linux' |
| 204 | + env: |
| 205 | + CLANG_VERSION: '20' |
| 206 | + run: uvx nox -s test -- --profile ci |
| 207 | + |
| 208 | + - name: Install clang v21 |
| 209 | + if: runner.os == 'Linux' |
| 210 | + uses: ./.github/install-clang-action |
| 211 | + with: |
| 212 | + version: '21' |
| 213 | + |
| 214 | + - name: Collect Coverage for clang v21 |
| 215 | + if: runner.os == 'Linux' |
| 216 | + env: |
| 217 | + CLANG_VERSION: '21' |
197 | 218 | run: uvx nox -s test -- --profile all
|
198 | 219 |
|
199 | 220 | - name: Generate Coverage HTML report
|
200 |
| - run: uvx nox -s pretty-cov |
| 221 | + run: uvx nox -s llvm-cov |
201 | 222 |
|
202 | 223 | - name: Upload coverage data
|
203 | 224 | uses: actions/upload-artifact@v4
|
204 | 225 | with:
|
205 | 226 | name: HTML_report-${{ runner.os }}
|
206 |
| - path: target/llvm-cov-pretty |
| 227 | + path: target/llvm-cov/html |
207 | 228 |
|
208 | 229 | - name: Generate Coverage lcov report
|
209 |
| - run: | |
210 |
| - rm coverage.json |
211 |
| - uvx nox -s lcov |
| 230 | + run: uvx nox -s lcov |
212 | 231 |
|
213 | 232 | - uses: codecov/codecov-action@v5
|
214 | 233 | with:
|
|
0 commit comments