We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f4464 commit 8f28d9aCopy full SHA for 8f28d9a
1 file changed
.github/workflows/tests.yml
@@ -13,8 +13,9 @@ on:
13
default: "3.12"
14
15
permissions:
16
- contents: read
+ contents: write
17
issues: write
18
+ pull-requests: write
19
20
concurrency:
21
group: tests-${{ github.ref }}
@@ -42,7 +43,7 @@ jobs:
42
43
- name: Run tests (venv)
44
run: |
45
set -o pipefail
- 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
47
48
- name: report playwright failure
49
if: failure()
@@ -51,3 +52,10 @@ jobs:
51
52
github_token: ${{ secrets.GITHUB_TOKEN }}
53
log_path: error.log
54
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 }}
0 commit comments