Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,17 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: >
curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y &&
rustup show
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_TEST_COMMAND: "pytest {project}/tests --benchmark-histogram /tmp/bench"
CIBW_TEST_EXTRAS: test

- uses: actions/upload-artifact@v2
with:
name: py${{ matrix.python-version }}_${{ matrix.platform || matrix.os }}.svg
path: /tmp/bench.svg

- name: debug the action
uses: lhotari/action-upterm@v1

- name: build windows 32bit binaries
if: matrix.os == 'windows'
run: cibuildwheel --output-dir ${{ matrix.wheels-dir }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool:pytest]
addopts = --benchmark-histogram --benchmark-min-time=0.00000001 --benchmark-calibration-precision=1
addopts = --benchmark-min-time=0.00000001 --benchmark-calibration-precision=1

[bdist_wheel]
universal = 1
Expand Down