@@ -2,8 +2,11 @@ name: CI - E2E tests
2
2
on :
3
3
workflow_dispatch : {}
4
4
schedule :
5
- # astra dev and dse - every 2 hours
6
- - cron : " 0 */2 * * *"
5
+ # keep different crons to reduce the n. of databases at the same time on astra
6
+ - cron : " 0 0/4 * * *"
7
+ - cron : " 0 1/4 * * *"
8
+ - cron : " 0 2/4 * * *"
9
+ - cron : " 0 3/4 * * *"
7
10
pull_request :
8
11
paths-ignore :
9
12
- " scripts/**"
29
32
astradb-prod-region : " us-east-1"
30
33
astradb-prod-cloud : " aws"
31
34
is-scheduled : ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
35
+ is-ragstack-dev-cron : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.event.schedule == '0 0/4 * * *') }}
36
+ is-ragstack-latest-release-cron : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.event.schedule == '0 1/4 * * *') }}
37
+ is-langchain-dev-cron : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.event.schedule == '0 2/4 * * *') }}
38
+ is-llamaindex-dev-cron : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.event.schedule == '0 3/4 * * *') }}
32
39
steps :
33
40
- uses : actions/checkout@v4
34
41
- name : Run lint
56
63
ragstack-dev-astradev-tests :
57
64
name : " RAGStack dev / AstraDB dev"
58
65
needs : ["preconditions"]
59
- if : ${{ needs.preconditions.outputs.is-scheduled == 'true' || needs.preconditions.outputs.e2e_tests == 'true' }}
66
+ if : ${{ needs.preconditions.outputs.is-ragstack-dev-cron == 'true' || needs.preconditions.outputs.e2e_tests == 'true' }}
60
67
uses : ./.github/workflows/_run_e2e_tests.yml
61
68
secrets : inherit
62
69
with :
90
97
langchain-astradev-tests :
91
98
name : " LangChain dev / AstraDB dev"
92
99
needs : ["preconditions"]
93
- if : ${{ needs.preconditions.outputs.is-scheduled == 'true' }}
100
+ if : ${{ needs.preconditions.outputs.is-langchain-dev-cron == 'true' }}
94
101
uses : ./.github/workflows/_run_e2e_tests.yml
95
102
secrets : inherit
96
103
with :
@@ -124,7 +131,7 @@ jobs:
124
131
llamaindex-astradev-tests :
125
132
name : " LLamaIndex dev / AstraDB dev"
126
133
needs : ["preconditions"]
127
- if : ${{ needs.preconditions.outputs.is-scheduled == 'true' }}
134
+ if : ${{ needs.preconditions.outputs.is-llamaindex-dev-cron == 'true' }}
128
135
uses : ./.github/workflows/_run_e2e_tests.yml
129
136
secrets : inherit
130
137
with :
@@ -158,7 +165,7 @@ jobs:
158
165
ragstack-latest-release-astradev-tests :
159
166
name : " RAGStack latest / AstraDB dev"
160
167
needs : ["preconditions"]
161
- if : ${{ needs.preconditions.outputs.is-scheduled == 'true' }}
168
+ if : ${{ needs.preconditions.outputs.is-ragstack-latest-release-cron == 'true' }}
162
169
uses : ./.github/workflows/_run_e2e_tests.yml
163
170
secrets : inherit
164
171
with :
0 commit comments