Remove one-time v17.6.5 test patch workflow
This commit is contained in:
parent
0a0fcf38b7
commit
7b8c7b430e
35
.github/workflows/fix-v1765-test-expectation.yml
vendored
35
.github/workflows/fix-v1765-test-expectation.yml
vendored
@ -1,35 +0,0 @@
|
|||||||
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