diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dd9df9a..02eeb6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,6 +76,11 @@ jobs: args: --release --out dist --find-interpreter sccache: 'true' manylinux: auto + - name: Run tests + run: | + python -m pip install --upgrade pip + pip install tox + tox - name: Upload wheels uses: actions/upload-artifact@v3 with: @@ -101,6 +106,11 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --find-interpreter sccache: 'true' + - name: Run tests + run: | + python -m pip install --upgrade pip + pip install tox + tox - name: Upload wheels uses: actions/upload-artifact@v3 with: @@ -124,6 +134,11 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --find-interpreter sccache: 'true' + - name: Run tests + run: | + python -m pip install --upgrade pip + pip install tox + tox - name: Upload wheels uses: actions/upload-artifact@v3 with: diff --git a/tox.ini b/tox.ini index 569dc36..b7a934e 100644 --- a/tox.ini +++ b/tox.ini @@ -7,21 +7,12 @@ envlist = py38,py39,py310,py311 skip_missing_interpreters = true isolated_build = true -requires = tox-pyo3 - -[gh-actions] -python = - 3.8: py38 - 3.9: py39 - 3.10: py310 - 3.11: py311 [testenv] deps = pytest ~= 6.1.1 commands = - poetry install - poetry run pytest --cache-clear tests/ -pyo3 = true + poetry run maturin develop --release + poetry run pytest --cache-clear tests/ whitelist_externals = poetry skip_install = true