Skip to content

Commit

Permalink
fix TF
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Dec 20, 2024
1 parent fa08e00 commit 15f4883
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ jobs:
fetch-depth: 0

- name: lint charm module
working-directory: ./terraform
run: |
pushd ./terraform
terraform init
terraform fmt
terraform validate
- name: lint test charm module
working-directory: ./terraform/tests
run: |
pushd ./tests
terraform init
terraform fmt
terraform validate
popd
popd
- name: run checks - prepare
run: |
sudo snap install juju --channel=3.6/beta --classic
Expand All @@ -75,9 +75,10 @@ jobs:
juju model-defaults logging-config='<root>=INFO; unit=DEBUG'
juju add-model test
- name: Terraform deploy
working-directory: ./terraform/tests/
run: |
pushd ./terraform/tests/
terraform apply -var "model=test" -target null_resource.simple_deployment_juju_wait_deployment -auto-approve
popd
lib-check:
name: Check libraries
Expand Down

0 comments on commit 15f4883

Please sign in to comment.