Skip to content

Commit 76ecedf

Browse files
author
Juan Tirado
committed
Simplify workflow and add debug flag to bootstrap.
1 parent 6ec3a55 commit 76ecedf

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

.github/workflows/test.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
steps:
1616
- name: Check out code
1717
uses: actions/checkout@v3
18-
- name: Install LXD
19-
if: ${{ !env.ACT }}
20-
shell: bash
21-
# language=bash
22-
run: |
23-
set -euxo pipefail
24-
sudo snap install lxd yq
25-
sudo lxd waitready
26-
sudo lxd init --auto
27-
sudo chmod a+wr /var/snap/lxd/common/lxd/unix.socket
28-
echo "/snap/bin" >> $GITHUB_PATH
18+
# - name: Install LXD
19+
# if: ${{ !env.ACT }}
20+
# shell: bash
21+
# # language=bash
22+
# run: |
23+
# set -euxo pipefail
24+
# sudo snap install lxd yq
25+
# sudo lxd waitready
26+
# sudo lxd init --auto
27+
# sudo chmod a+wr /var/snap/lxd/common/lxd/unix.socket
28+
# echo "/snap/bin" >> $GITHUB_PATH
2929
- name: Install juju
3030
shell: bash
3131
env:
@@ -40,10 +40,7 @@ jobs:
4040
# language=bash
4141
run: |
4242
sudo mkdir /home/runner/.ssh
43-
juju bootstrap localhost test \
44-
--config 'identity-url=https://api.staging.jujucharms.com/identity' \
45-
--config 'allow-model-access=true' \
46-
--config 'test-mode=true'
43+
juju bootstrap localhost test --debug
4744
- name: Setup Python
4845
uses: actions/setup-python@v2
4946
with:

0 commit comments

Comments
 (0)