-
Notifications
You must be signed in to change notification settings - Fork 433
57 lines (52 loc) · 1.73 KB
/
update-test-timing.yml
File metadata and controls
57 lines (52 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Upate the timing test file required for parallel test
on:
workflow_dispatch:
schedule:
# run weekly on Monday
- cron: "13 3 * * 1"
name: Update timing test file
jobs:
run-timed-tests:
name: Running Tests to produce timed file
uses: ./.github/workflows/test-smokes.yml
with:
buckets: ""
time-test: true
create-pr:
name: Create PR with updated timing file
needs: run-timed-tests
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v6
- name: Download timing file artifact
uses: actions/download-artifact@v8
with:
name: timed test file
path: tests/
- name: Create Pull Request for new tests timing
id: cpr
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: tests/timing-for-ci.txt
commit-message: |
timing for new tests [auto PR]
branch: updates/timing-for-ci
delete-branch: true
assignees: cderv
reviewers: cderv
title: |
[CI] Update timing file
body: |
This PR was created automatically with new timing test file for our parallel smoke tests.
Please review and merge to trigger a new build of the website.
- name: Check auto PR outputs
if: steps.cpr.outcome == 'success'
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
echo "Pull Request Action Performed - ${{ steps.cpr.outputs.pull-request-operation }}"