From 629f94b4e19d90496043e5ed4c1da44897f035e1 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 19 Mar 2021 19:04:53 +0100 Subject: CI: drastically reduce the number of tests for package only PRs (#22410) PRs that change only package recipes will only run tests under "package_sanity.py" and without coverage. This should result in a huge drop the cpu-time spent in CI for most PRs. --- .github/workflows/unit_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index b36d331f6c..262cc4a7ec 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -332,7 +332,7 @@ jobs: coverage xml else echo "ONLY PACKAGE RECIPES CHANGED [skipping coverage]" - $(which spack) unit-test -x -m "not maybeslow" + $(which spack) unit-test -x -m "not maybeslow" -k "package_sanity" fi - uses: codecov/codecov-action@v1 if: ${{ needs.changes.outputs.with_coverage == 'true' }} -- cgit v1.2.3-60-g2f50