diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index dd01c5d..4a8a448 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -22,11 +22,11 @@ jobs: with: name: built-charm-${{ matrix.arch.arch }} path: built/ - + - name: Get Charm Under Test Path id: charm-path run: echo "charm_path=$(find built/ -name '*.charm' -type f -print)" >> $GITHUB_OUTPUT - + - name: Setup operator environment uses: charmed-kubernetes/actions-operator@main with: @@ -37,22 +37,22 @@ jobs: - name: Install UV and Tox run: | - python3 -m pip uninstall tox -y + pipx uninstall tox sudo snap install astral-uv --classic - uv tool install tox --with tox-uv + uv tool install tox --with tox-uv --force - name: Run integration tests run: | tox -e integration -- \ --charm_path=${{ steps.charm-path.outputs.charm_path }} - + - name: Archive charmcraft logs if: failure() uses: actions/upload-artifact@v4 with: name: charmcraft-logs path: /home/runner/.local/state/charmcraft/log/*.log - + - name: Archive juju crashdump if: failure() uses: actions/upload-artifact@v4