Fix v17.6.5 E2E version expectation
This commit is contained in:
parent
60cafb11af
commit
f70deeddb9
35
.github/workflows/fix-v1765-test-expectation.yml
vendored
Normal file
35
.github/workflows/fix-v1765-test-expectation.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: Fix Caterium v17.6.5 E2E expectation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- feature/v17.6.5-stability
|
||||||
|
paths:
|
||||||
|
- .github/workflows/fix-v1765-test-expectation.yml
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
patch:
|
||||||
|
if: github.actor != 'github-actions[bot]'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Update expected performance version
|
||||||
|
run: |
|
||||||
|
python3 - <<'PY'
|
||||||
|
from pathlib import Path
|
||||||
|
p=Path('tests/app.spec.mjs')
|
||||||
|
s=p.read_text()
|
||||||
|
old="expect(result.version).toBe('17.6.4');"
|
||||||
|
assert s.count(old)==1, s.count(old)
|
||||||
|
p.write_text(s.replace(old,"expect(result.version).toBe('17.6.5');"))
|
||||||
|
PY
|
||||||
|
- name: Commit test expectation
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add tests/app.spec.mjs
|
||||||
|
git commit -m "Update v17.6.5 E2E version expectation"
|
||||||
|
git push
|
||||||
Loading…
Reference in New Issue
Block a user