File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 python-version :
1111 required : false
1212 type : string
13- default : " 3.13 "
13+ default : " 3.12 "
1414
1515permissions :
16- contents : read
16+ contents : write
1717 issues : write
18+ pull-requests : write
1819
1920concurrency :
2021 group : tests-${{ github.ref }}
4243 - name : Run tests (venv)
4344 run : |
4445 set -o pipefail
45- venv/bin/python -m pytest --tb=short 2>&1 | tee error.log
46+ venv/bin/python -m pytest --jsss-ci-cd --save-original -- tb=short 2>&1 | tee error.log
4647
4748 - name : report playwright failure
4849 if : failure()
5152 github_token : ${{ secrets.GITHUB_TOKEN }}
5253 log_path : error.log
5354 screenshot_path : screenshot.png
55+
56+ - name : auto PR schema
57+ # отмена джобы исключается (поэтому и не always)
58+ if : success() || failure()
59+ uses : Miskler/pytest-jsonschema-snapshot-bot@v12
60+ with :
61+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments