We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560db1f commit 4b3a31aCopy full SHA for 4b3a31a
1 file changed
.github/workflows/benchmark.yml
@@ -88,9 +88,16 @@ jobs:
88
GHA_LIBWEBP_CACHE_HIT: ${{ steps.cache-libwebp.outputs.cache-hit }}
89
90
- name: Run CodSpeed benchmarks
91
+ if: github.event_name != 'pull_request' || github.event.repository.fork == false
92
uses: CodSpeedHQ/action@a4a36bb07c0638b0b4ca52bf1f3dad1b4289e52f # v4.18.1
93
with:
94
mode: simulation
95
run: |
96
python3 -m pip install -e . pytest-codspeed
97
python3 -m pytest -vv --codspeed Tests/benchmarks.py
98
+
99
+ - name: Run CodSpeed benchmarks on pull requests to a fork
100
+ if: github.event_name == 'pull_request' && github.event.repository.fork == true
101
+ run: |
102
+ python3 -m pip install -e . pytest-codspeed
103
+ python3 -m pytest -vv --codspeed Tests/benchmarks.py
0 commit comments