Skip to content

Commit df6ff86

Browse files
authored
ci: fix nightly performance tests (#2522)
1 parent 50993cb commit df6ff86

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci-nightly-performance-testing.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
required: false
99
default: 'http://localhost:9545'
1010
schedule:
11-
- cron: '0 0 * * *' # Runs every day at midnight UTC
11+
# run at 6AM UTC Daily
12+
# 6AM UTC -> 11PM PT
13+
- cron: "0 6 * * *"
1214

1315
jobs:
1416
nightly_evm_api_performance_test:
@@ -35,10 +37,10 @@ jobs:
3537
- name: "CONFIGURE:PERFORMANCE:TEMPLATE"
3638
env:
3739
CLOUDFLARE_UUID: ${{ secrets.CLOUDFLARE_UUID }}
40+
ENDPOINT: ${{ inputs.endpoint || 'http://localhost:9545' }}
3841
run: |
3942
# Replace -=endpoint_to_test=- placeholder in the art.yaml file with the endpoint_to_test value
40-
sed -i "s|-=endpoint_to_test=-|${{inputs.endpoint}}|g" .github/actions/performance-tests/art.yaml
41-
echo "CLOUDFLARE_UUID=${{ secrets.CLOUDFLARE_UUID }}" >> ${GITHUB_ENV}
43+
sed -i "s|-=endpoint_to_test=-|${ENDPOINT}|g" .github/actions/performance-tests/art.yaml
4244
# Replace -=CLOUDFLARE_UUID=- placeholder in the art.yaml file with the correct value
4345
sed -i "s|-=CLOUDFLARE_UUID=-|${CLOUDFLARE_UUID}|g" .github/actions/performance-tests/art.yaml
4446
cat .github/actions/performance-tests/art.yaml
@@ -109,5 +111,6 @@ jobs:
109111
with:
110112
status: ${{ job.status }}
111113
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
114+
job_name: "NIGHTLY:EVM:API:PERFORMANCE:TEST"
112115
env:
113116
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_ALERTS }}

0 commit comments

Comments
 (0)