ci: avoid running coverage on package only PRs (#32573)
* ci: remove !docs from "core" filters Written like it is now it causes package only PRs to run with coverage. * Try to skip job under condition, see if the workflow proceed * Try to cancel a running CI job * Simplify linux unit-tests, skip windows unit-tests on package PRs * Reduce the inputs to unit-tests workflow * Move control logic to main workflow, remove inputs * Revert "Move control logic to main workflow, remove inputs" This reverts commit0c46fece4c. * Do not compute "with_coverage" since it's always == to "core" * Remove workflow dispatch from unit tests * Revert "Revert "Move control logic to main workflow, remove inputs"" This reverts commitdd4e4a4e61. * Try to skip all from the main workflow * Add back bootstrap to needed checks for "all" * Restore the correct logic for conditionals
This commit is contained in:
		 Massimiliano Culpo
					Massimiliano Culpo
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							dc1734f0a6
						
					
				
				
					commit
					67534516c7
				
			| @@ -46,10 +46,7 @@ $coverage_run $(which spack) python -c "import spack.pkg.builtin.mpileaks; repr( | ||||
| #----------------------------------------------------------- | ||||
| # Run unit tests with code coverage | ||||
| #----------------------------------------------------------- | ||||
| if [[ "$ONLY_PACKAGES" == "true" ]]; then | ||||
|   echo "ONLY PACKAGE RECIPES CHANGED [running only package sanity]" | ||||
|   export PYTEST_ADDOPTS='-k "test_all_virtual_packages_have_default_providers" -m "not maybeslow"' | ||||
| elif [[ "$SPACK_TEST_SOLVER" == "original" ]]; then | ||||
| if [[ "$SPACK_TEST_SOLVER" == "original" ]]; then | ||||
|   echo "ORIGINAL CONCRETIZER [skipping slow unit tests]" | ||||
|   export PYTEST_ADDOPTS='-m "not maybeslow"' | ||||
| fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user