From 6cda1a4b890e0f4226805b157f78774e3be8a2c9 Mon Sep 17 00:00:00 2001 From: Hendrik Makait Date: Tue, 20 Aug 2024 14:50:14 +0200 Subject: [PATCH] Disable automated tests on PRs --- .github/workflows/tests.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bff37d2d80..6f15a2475a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,9 @@ on: - main tags: - "*" - pull_request: schedule: # Runs "At 00:01" (see https://crontab.guru) - - cron: "1 0 * * 0" # every Sunday (relevant for non-Dask TPC-H benchmarks) - - cron: "1 0 * * 1-6" # every day except Sunday + - cron: "1 0 * * 0" # every Sunday workflow_dispatch: concurrency: @@ -112,9 +110,8 @@ jobs: - name: Disable non-Dask TPCH benchmarks on most PRs and on daily schedule (except Sundays) if: | - matrix.name_prefix != 'tpch' || - (github.event_name != 'schedule' || github.event.schedule != '1 0 * * 0') && - (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'tpch')) + matrix.name_prefix != 'tpch' + || (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'tpch')) run: | echo PYTEST_MARKERS="${{ env.PYTEST_MARKERS }} and not tpch_nondask" >> $GITHUB_ENV