Skip to content

Commit

Permalink
tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Jun 22, 2024
1 parent a147464 commit f44cc0f
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,25 @@ jobs:
run: |
sudo apt update
sudo apt install --yes openssh-server=1:8.9p1-3ubuntu0.7
sudo apt install --yes tree
sudo service ssh start
- name: Initialize Terraform infrastructure
run: terraform init
working-directory: ./tests/setup

- name: Show VM metrics
run: cat /proc/cpuinfo && cat /proc/meminfo && df -h
run: cat /proc/cpuinfo && cat /proc/meminfo && tree -h -L 3 /dev/root

- name: Apply Terraform infrastructure
run: terraform apply --auto-approve
working-directory: ./tests/setup
# - name: Apply Terraform infrastructure
# run: terraform apply --auto-approve
# working-directory: ./tests/setup

- name: Run testsuite
run: ansible-playbook --inventory inventory.yml deploy.yml
working-directory: ./tests/testsuite
# - name: Run testsuite
# run: ansible-playbook --inventory inventory.yml deploy.yml
# working-directory: ./tests/testsuite

- name: Cleanup
if: always()
run: terraform destroy --auto-approve
working-directory: ./tests/setup
# - name: Cleanup
# if: always()
# run: terraform destroy --auto-approve
# working-directory: ./tests/setup

0 comments on commit f44cc0f

Please sign in to comment.