mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 17:07:20 +08:00 
			
		
		
		
	Merge pull request #22033 from Luap99/validate-test-included
Makefile: drop tests-included from validate target
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -310,7 +310,7 @@ codespell:
 | 
			
		||||
	codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"*.fish,RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L secon,passt,bu,hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif -w
 | 
			
		||||
 | 
			
		||||
.PHONY: validate
 | 
			
		||||
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit pr-removes-fixed-skips
 | 
			
		||||
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-expect-exit pr-removes-fixed-skips
 | 
			
		||||
 | 
			
		||||
.PHONY: build-all-new-commits
 | 
			
		||||
build-all-new-commits:
 | 
			
		||||
 | 
			
		||||
@ -22,10 +22,6 @@ source $(dirname $0)/lib.sh
 | 
			
		||||
showrun echo "starting"
 | 
			
		||||
 | 
			
		||||
function _run_validate() {
 | 
			
		||||
    # TODO: aarch64 images need python3-devel installed
 | 
			
		||||
    # https://github.com/containers/automation_images/issues/159
 | 
			
		||||
    showrun bigto ooe.sh dnf install -y python3-devel
 | 
			
		||||
 | 
			
		||||
    # git-validation tool fails if $EPOCH_TEST_COMMIT is empty
 | 
			
		||||
    # shellcheck disable=SC2154
 | 
			
		||||
    if [[ -n "$EPOCH_TEST_COMMIT" ]]; then
 | 
			
		||||
@ -33,7 +29,8 @@ function _run_validate() {
 | 
			
		||||
    else
 | 
			
		||||
        warn "Skipping git-validation since \$EPOCH_TEST_COMMIT is empty"
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    # make sure PRs have tests
 | 
			
		||||
    showrun make tests-included
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function _run_unit() {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user