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 4e83d42 commit 726684bCopy full SHA for 726684b
.github/workflows/test.yml
@@ -3,6 +3,31 @@ name: Tests
3
on: [push, pull_request]
4
5
jobs:
6
+
7
+ benchmarks:
8
+ name: 📈 Benchmarks
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - run: pipx install poetry
14
+ - uses: actions/setup-python@v5
15
+ id: setup-python
16
+ with:
17
+ python-version: "3.12"
18
+ architecture: x64
19
+ cache: "poetry"
20
21
+ - run: poetry env use 3.12
22
+ - run: poetry install --with test
23
+ if: steps.setup-python.outputs.cache-hit != 'true'
24
25
+ - name: Run benchmarks
26
+ uses: CodSpeedHQ/action@v2
27
28
+ token: ${{ secrets.CODSPEED_TOKEN }}
29
+ run: poetry run pytest tests --benchmark-enable --codspeed
30
31
tests:
32
runs-on: ubuntu-latest
33
0 commit comments