Skip to content

Commit

Permalink
build: Fix tox installation in integration tests (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt authored Dec 12, 2024
1 parent c0f02a8 commit 809f97c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 809f97c

Please sign in to comment.