File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
schedule :
10
10
# Runs "At 00:01" (see https://crontab.guru)
11
- - cron : " 1 0 * * *"
11
+ - cron : " 1 0 * * 0" # every Sunday (relevant for non-Dask TPC-H benchmarks)
12
+ - cron : " 1 0 * * 1-6" # every day except Sunday
12
13
workflow_dispatch :
13
14
14
15
concurrency :
32
33
matrix :
33
34
os : [ubuntu-latest]
34
35
python-version : ["3.9"]
35
- pytest_args : [tests]
36
+ pytest_args : [tests --ignore=tests/tpch ]
36
37
extra-env : [""]
37
38
name-prefix : [tests]
38
39
include :
60
61
os : ubuntu-latest
61
62
name-prefix : snowflake
62
63
extra-env : ci/environment-snowflake.yml
63
- - pytest_args : tests/tpch -m tpch_nondask
64
+ - pytest_args : tests/tpch
64
65
python-version : " 3.9"
65
66
os : ubuntu-latest
66
67
extra-env : ci/environment-tpch-nondask.yml
@@ -109,10 +110,15 @@ jobs:
109
110
run : |
110
111
echo PYTEST_MARKERS=" and not workflows" >> $GITHUB_ENV
111
112
112
- - name : Disable non-Dask TPCH benchmarks on most PRs
113
+ - name : Disable non-Dask TPCH benchmarks on most PRs and on daily schedule (except Sundays)
113
114
if : |
114
- github.event_name != 'schedule'
115
- && !(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'tpch'))
115
+ ${{
116
+ !contains(matrix.pytest_args, 'tpch_nondask')
117
+ || !(
118
+ (github.event_name == 'schedule' || github.event.schedule == '1 0 * * 0')
119
+ || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'tpch'))
120
+ )
121
+ }}
116
122
run : |
117
123
echo PYTEST_MARKERS="${{ env.PYTEST_MARKERS }} and not tpch_nondask" >> $GITHUB_ENV
118
124
You can’t perform that action at this time.
0 commit comments