From cba7c8c41745ae8d5364e6e3eaca88cbd50fb9c1 Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:30:03 -0800 Subject: [PATCH] update tox workflow command --- .github/workflows/run_tests.yml | 4 ++-- tox.ini | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index dfb5cae02..d5ef69857 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -59,7 +59,7 @@ jobs: - name: Test installation from a wheel run: | - tox -e wheelinstall --installpkg dist/*-none-any.whl + tox -e wheelinstall --recreate --installpkg dist/*-none-any.whl - name: Upload distribution as a workspace artifact if: ${{ matrix.upload-wheels }} @@ -162,7 +162,7 @@ jobs: - name: Test installation from a wheel run: | - tox -e wheelinstall --installpkg dist/*-none-any.whl + tox -e wheelinstall --recreate --installpkg dist/*-none-any.whl run-ros3-tests: # tox and conda do not play nicely so do not use tox here name: ${{ matrix.name }} diff --git a/tox.ini b/tox.ini index 1a908acbb..7deff7a70 100644 --- a/tox.ini +++ b/tox.ini @@ -11,9 +11,6 @@ download = True setenv = PYTHONDONTWRITEBYTECODE = 1 VIRTUALENV_PIP = 23.3.1 -recreate = - pinned, minimum, upgraded, prerelease: False - build, wheelinstall: True # good practice to recreate the environment install_command = pinned, minimum, wheelinstall: python -m pip install {opts} {packages} upgraded: python -m pip install -U {opts} {packages}