Skip to content

Commit

Permalink
Fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
lmlg committed May 28, 2024
1 parent 2e869fd commit 95c59e5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get -qq install libxslt-dev libxml2-dev python3-lxml
python -m pip install tox
python3 -m pip install tox
- name: Run tests
run: tox -e py3
Expand All @@ -48,7 +48,7 @@ jobs:
channel: 5.20/stable

- name: Install dependencies
run: python -m pip install tox
run: python3 -m pip install tox

- name: Build charm(s)
id: builder
Expand Down Expand Up @@ -90,10 +90,12 @@ jobs:

- name: Install dependencies
run: |
python -m pip install tox
sudo snap install juju
mkdir -p ~/.local/share/juju
juju bootstrap localhost
python3 -m pip install tox
if [ ! -d "$HOME/.local/share/juju" ]; then
sudo snap install juju
mkdir -p ~/.local/share/juju
juju bootstrap localhost localhost
fi
- name: Run focal-wallaby tests
run: |
Expand Down

0 comments on commit 95c59e5

Please sign in to comment.