diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbf2cdb..623f806 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/setup.cfg b/setup.cfg index 7523794..4db46b2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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