mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 16:13:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			900 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			900 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: coverage
 | |
| 
 | |
| on: [push, pull_request]
 | |
| 
 | |
| permissions: {}
 | |
| 
 | |
| jobs:
 | |
|   coverage:
 | |
|     if: github.repository == 'Swatinem/rust-cache'
 | |
|     strategy:
 | |
|       fail-fast: false
 | |
|       matrix:
 | |
|         os: [ubuntu-latest, macos-latest, windows-latest]
 | |
| 
 | |
|     name: Test `cargo-llvm-cov` on ${{ matrix.os }}
 | |
|     runs-on: ${{ matrix.os }}
 | |
| 
 | |
|     env:
 | |
|       CARGO_TERM_COLOR: always
 | |
| 
 | |
|     steps:
 | |
|       - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
 | |
|         with:
 | |
|           persist-credentials: false
 | |
| 
 | |
|       - run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
 | |
| 
 | |
|       - uses: taiki-e/install-action@cd39cb0572834c149bf3533a143f05e09def0f3c # v2.62.2
 | |
|         with:
 | |
|           tool: cargo-llvm-cov
 | |
| 
 | |
|       - uses: ./
 | |
|         with:
 | |
|           workspaces: tests
 | |
| 
 | |
|       - run: cargo llvm-cov --all-features --workspace
 | |
|         working-directory: tests
 |