mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +00:00 
			
		
		
		
	ci: static-checks: Move "sudo make test" to the new test matrix
We're moving it out of the previous "static-checks" confusing matrix, and adding it to the matrix that was currently being used for the `make vendor` and `make check` checks. This will allow us to have one job per component, and with that we can easily run those in parallel and on the zero cost runners. Fixes: #7974 -- part 0 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/static-checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/static-checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -53,6 +53,7 @@ jobs:
 | 
				
			|||||||
          - "make vendor"
 | 
					          - "make vendor"
 | 
				
			||||||
          - "make check"
 | 
					          - "make check"
 | 
				
			||||||
          - "make test"
 | 
					          - "make test"
 | 
				
			||||||
 | 
					          - "sudo -E PATH=\"$PATH\" make test"
 | 
				
			||||||
        include:
 | 
					        include:
 | 
				
			||||||
          - component: agent
 | 
					          - component: agent
 | 
				
			||||||
            component-path: src/agent
 | 
					            component-path: src/agent
 | 
				
			||||||
@@ -131,7 +132,6 @@ jobs:
 | 
				
			|||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        cmd:
 | 
					        cmd:
 | 
				
			||||||
          - "make static-checks"
 | 
					          - "make static-checks"
 | 
				
			||||||
          - "sudo -E PATH=\"$PATH\" make test"
 | 
					 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      RUST_BACKTRACE: "1"
 | 
					      RUST_BACKTRACE: "1"
 | 
				
			||||||
      target_branch: ${{ github.base_ref }}
 | 
					      target_branch: ${{ github.base_ref }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user