From 42a656ddf258423420a305e1e0e4a09e29c9a1d8 Mon Sep 17 00:00:00 2001 From: Orfeas Kourkakis Date: Tue, 10 Dec 2024 15:59:21 +0200 Subject: [PATCH] ci: install tox using pip (#224) Ref canonical/bundle-kubeflow#1183 --- .github/workflows/integrate.yaml | 8 ++------ tox.ini | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index c0745ff..14a0c02 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -21,9 +21,7 @@ jobs: steps: - name: Check out repo uses: actions/checkout@v3 - - run: | - sudo apt update - sudo apt install tox + - run: pip install tox - run: tox -vve argo-controller-lint unit: @@ -32,9 +30,7 @@ jobs: steps: - name: Check out repo uses: actions/checkout@v3 - - run: | - sudo apt update - sudo apt install tox + - run: pip install tox - run: tox -vve argo-controller-unit terraform-checks: diff --git a/tox.ini b/tox.ini index 256b4ad..65d7679 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ setenv = integration: TYPE = integration update-requirements: TYPE = update-requirements commands = - tox -vve {env:TYPE} -c {toxinidir}/charms/{env:CHARM} + tox -c {toxinidir}/charms/{env:CHARM} -vve {env:TYPE} [testenv:update-requirements] allowlist_externals =