Skip to content

Commit

Permalink
More changes to self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
lmlg committed May 24, 2024
1 parent 4d74362 commit 26413dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 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 All @@ -68,7 +68,7 @@ jobs:
- unit-test
- build
name: Functional tests
runs-on: [self-hosted, lepaute]
runs-on: self-hosted
steps:

- name: Download charm
Expand All @@ -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 "~/.local/share/juju" ]; then
sudo snap install juju
mkdir -p ~/.local/share/juju
juju bootstrap localhost
fi
- name: Run jammy-antelope tests
run: |
Expand Down

0 comments on commit 26413dd

Please sign in to comment.