Skip to content

Commit

Permalink
add TF lint back for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jan 9, 2025
1 parent 1cf338a commit 768660d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,20 @@ jobs:
terraform init
terraform fmt
terraform validate
- name: lint test charm module
working-directory: ./terraform/tests
run: |
terraform init
terraform fmt
terraform validate
- name: run checks - prepare
run: |
sudo snap install juju --channel=3.6/beta --classic
sudo snap install juju-wait --channel=latest/stable --classic
sudo snap install jq
- name: LXD setup
run: |
sudo snap refresh lxd --channel=latest/stable
sudo snap install lxd --channel=latest/stable
sudo adduser "$USER" 'lxd'
# `newgrp` does not work in GitHub Actions; use `sg` instead
sg 'lxd' -c "lxd waitready"
Expand Down

0 comments on commit 768660d

Please sign in to comment.