Skip to content

Commit 25fc935

Browse files
authored
Update pip-build-lint-test-coverage.yml
1 parent d96a7bf commit 25fc935

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/pip-build-lint-test-coverage.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
permissions:
1111
contents: read
12+
pull-requests: write
1213

1314
concurrency:
1415
group: ci-${{ github.ref }}
@@ -38,7 +39,7 @@ jobs:
3839
with:
3940
python-version: '3.12'
4041
- name: Install dev dependencies
41-
run: pdm install -G dev
42+
run: pdm install -G dev --no-isolation
4243
- name: Lint
4344
run: pdm run lint
4445
- name: Typecheck
@@ -70,7 +71,7 @@ jobs:
7071
with:
7172
python-version: ${{ matrix.python-version }}
7273
- name: Install dev dependencies
73-
run: pdm install -G dev
74+
run: pdm install -G dev --no-isolation
7475
- name: Run tests (no coverage)
7576
if: matrix.python-version != '3.12'
7677
run: pdm run test
@@ -116,7 +117,7 @@ jobs:
116117
with:
117118
python-version: '3.12'
118119
- name: Install dev dependencies
119-
run: pdm install -G dev
120+
run: pdm install -G dev --no-isolation
120121
- name: Run benchmarks
121122
run: pdm run benchmark --benchmark-json bench.json
122123
- name: Upload benchmark artifact
@@ -147,3 +148,9 @@ jobs:
147148
fail-threshold: '200%'
148149
alert-threshold: '150%'
149150
auto-push: false
151+
output-file-path: bench.json
152+
github-token: ${{ secrets.GITHUB_TOKEN }}
153+
comment-always: true
154+
fail-threshold: '200%'
155+
alert-threshold: '150%'
156+
auto-push: false

0 commit comments

Comments
 (0)