-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathupdate_regression_baselines.yaml
More file actions
43 lines (34 loc) · 1.21 KB
/
Copy pathupdate_regression_baselines.yaml
File metadata and controls
43 lines (34 loc) · 1.21 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
name: Update Regression Baselines
on:
workflow_dispatch:
concurrency:
group: update-regression-baselines-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
update-baselines:
name: Update regression baselines
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.ref }}
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
- name: Install testing dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
- name: Update regression baselines
run: pytest tests/regression --update-baselines --run-slow
- name: Commit updated baselines
uses: stefanzweifel/git-auto-commit-action@4a55954c782fc1ea30b9056cd3e7a2b40ca8887d # v7.2.0
with:
commit_message: "test(regression): update baselines"
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com